Password protect a static HTML page
github.com
Password protect a static HTML page
1–10 of 294 posts
Re: Password protect a static HTML page
#2https://github.com/robinmoisson/staticrypt/blob/5dac008ba644...
Re: Password protect a static HTML page
#3Using a dynamic script or application to generate a static html page that requires no JS execution is a static page.
Using a static HTML page and then hiding it behind javascript execution is explicitly not a static HTML page.
Use .htaccess. And if you can't, reconsider the choices you made that restrict your abilities so significantly.
Re: Password protect a static HTML page
#4Re: Password protect a static HTML page
#5Re: Password protect a static HTML page
#6Re: Password protect a static HTML page
#7Anyone remembers .htaccess files from Apache? Good times.
The user experience with basic auth is not so good. The dialogs give little way to customize and providing information for user. No support for logout or any form of password changes.
Re: Password protect a static HTML page
#8Re: Password protect a static HTML page
#9windows.location = hash(password);
Re: Password protect a static HTML page
#10If you have to run javascript it is not a static page anymore. I've seen a lot of this particularly weird overloading of "static HTML" lately. Static HTML, or static webpage, is meant to describe the experience from the person who is trying to look at the page. It does not describe the experience of the dev. Using a dynamic script or application to generate a static html page that requires no JS execution is a static…