secure area question

message from melissa on 21 Jul 2004
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?
 
Paul Whitham TMM replied to melissa on 22 Jul 2004
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.
 

Archived message: secure area question (Macromedia Dreamweaver)