HighDots Forums  

secure area question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss secure area question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
melissa
 
Posts: n/a

Default secure area question - 07-21-2004 , 02:16 PM






i have a secure area of my website, let's call it www.mysite.com/secure

all of the files in the secure area are protected via user login/access
restricted....connected to a mysql/php database.

i have several pages in this directory that have jpg images on them.

ie: www.mysite.com/secure/index.php

images come from:
www.mysite.com/secure/images/


my question is this....if the user has to login to gain access to the
secure/index.php file, how do i prohibit them from accessing
www.mysite.com/secure/images/image01.jpg ? If i secure the folder with
htaccess, then the user will have to login twice to see the page in its
entirety.

there are navigational elements in the pages that are hidden or shown based
on the login, so i don't want to use ht access for this.....

any solutions?




Reply With Quote
  #2  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: secure area question - 07-21-2004 , 10:19 PM






Have you actually confimed that htaccess does make the person log in twice,
as one a machine I have it on it is protecting two distinct folders, and
once the person logs in they can move freely between the two.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"melissa" <melissa (AT) maddesignusa (DOT) com> wrote

Quote:
i have a secure area of my website, let's call it www.mysite.com/secure

all of the files in the secure area are protected via user login/access
restricted....connected to a mysql/php database.

i have several pages in this directory that have jpg images on them.

ie: www.mysite.com/secure/index.php

images come from:
www.mysite.com/secure/images/


my question is this....if the user has to login to gain access to the
secure/index.php file, how do i prohibit them from accessing
www.mysite.com/secure/images/image01.jpg ? If i secure the folder with
htaccess, then the user will have to login twice to see the page in its
entirety.

there are navigational elements in the pages that are hidden or shown
based
on the login, so i don't want to use ht access for this.....

any solutions?






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.