![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
![]() |
| Thread Tools | |
| Display Modes | |
| |