I am writing some simple HTML pages. I need to protect some pages and some files (to be downloaded) by requiring username and password. Do anyone has a simple solution? Thank you very much!
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
|
First of all find out what sort of webserver you are using by using the method suggested in this question: http://superuser.com/questions/120783/can-i-detect-what-webserver-a-website-is-using If it's Apache How do I setup authentication on a specific folder using .htaccess? If it's IIS http://serverfault.com/questions/193273/iis-password-protection-for-php |
|||
|