PHP & .htaccess working together

NulledHost.info

New Member
Any help on this would be greatly appreciated:I have a website running with php on IIS6 IIS7. I am protecting all the .php files by starting a session. The .php pages can only be accessed if the session is started by logging in through the login.php pageAll my .php files are in the following directory (using as example):home/dirIs it possible to use php and .htaccess to protect all files in the following directory:home/dir/filesThe files in this directory are word files, pdf's and other files types.Once the user has logged in through login.php I don't want them to have to retype their username and password when trying to access home/dir/filesI hope that I made sense. Thank you.
 
Back
Top