News for hackers. Stuff that matters.
Re:Password protect a static HTML page by d-z-m on Saturday February 18, 2023 @04:23PM (#34851246)
If you're talking about sending these files around via email/messenger, most browsers treat localhost as a secure context, so this doesn't seem like that significant of a limitation.

If you are serving out an encrypted HTML page insecurely, your users are already hosed, because someone on the path could inject a script that sends the password to evil[.]com when they type it in.

There are no comments on this comment yet.