I'm trying to protect 3 files in a directory with non-protected files (mixed bag).
I need to protect these 3 files by only allowing those who have already loged in from another .htaccess/.htpasswd to be able to read these HTM files.
Basically, It's a header navbar html file that should only be able to be accessed with the valid-user directive being true, otherwise it will fail to load.
I was thinking this:
<limit GET fileimtryingtoprotect.htm>
require valid-user
</limit>
Question
Mr. Black
Hey Guys & Gals
I'm trying to protect 3 files in a directory with non-protected files (mixed bag).
I need to protect these 3 files by only allowing those who have already loged in from another .htaccess/.htpasswd to be able to read these HTM files.
Basically, It's a header navbar html file that should only be able to be accessed with the valid-user directive being true, otherwise it will fail to load.
I was thinking this:
Help?
Thanks :)
Link to comment
Share on other sites
0 answers to this question
Recommended Posts