A reader writes:
I know about the “.htaccess” file as a way of protecting entire directories, but I’m wondering if I can use the “.htaccess” file to require a username and password in order to access a single file while allowing the rest of the directory to remain open?
When I first read this question, my instinct was to say “no”, but a bit of research revealed that this is indeed quite possible, and here’s what you’d want to put in your “.htaccess” file:
<Files myfile.html>
Require valid-user
</Files>
Check out The Apache documentation on .htaccess for more information, and good luck!
Please explain how I can empty my restore program . I believe it must become a bloated file after a while. It would be nice to empty it and restart afresh.
Carol Garcia
New interesting theme
So if i just had like a regular windows xp what would i do for that step by step?to protect a single file like that?