"html" (not apache) password protected webpage???
To All:
Is it possible to make webpages in a directory and all its sub-directory password-protected in html (i.e., not using apache or another language)? I want to put up webpages on a free website or somewhere, and I can not assume apache or something is already there. Can someone points me to documentations? I can't find what I want - I only found documentations for filling forms. I want to - popup a new window asking for password - after password is entered that user has permission to that directory and sub-directories. Thanks in advance for your help. Sheng-Chieh |
Not as far as I know. Static HTML pages do not execute, they are parsed and displayed in your browser.
This means they can't take and verify input without help from something else (like the web server). |
No, it can not be done in html alone..
|
You might be able to use javascript to do this, but it would be INCREDIBLY complex and would require writing cryptographic code in javascript.
|
Thanks for the quick replies.
So is apache the only way? What are the other ways? Also, which way is the easiest (apache?)? Sheng-Chieh |
HTML pages need some sort of webserver to deliver them. Apache is the most common (& free) on the net. Ask your hosting company what they use.
|
Could the javascript be bypassed by turning it off in the browser?
|
All times are GMT -5. The time now is 02:02 PM. |