
Password protecting individual files?
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? <Files myfile.html>Check out The Apache documentation on .htaccess for more information, and good luck!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
CGI Scripts and Web Site Programming
(Article 3685)
Tagged: Previous: Cover prototype of my latest book: "Creating Cool Web Sites" Next: Nice review of "Learning Unix for Mac OS X Panther" Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. 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? Posted by: LOSTCOven at October 12, 2005 2:42 AMPlease 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. Posted by: Ray Moher at July 15, 2006 6:49 AMI have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|