Re:Show HN: Password-protect a static HTML page
by iancarroll on Wednesday June 14, 2017 @02:05PM
(#14554661)
Your unencrypted (or just unauthenticated) HTML page might suddenly start sending the password you enter elsewhere...
Re:Show HN: Password-protect a static HTML page
by pdx on Wednesday June 14, 2017 @02:40PM
(#14554936)
Really, how? Because somebody compromised the server? So what? If they did that, all bets are off.
Re:Show HN: Password-protect a static HTML page
by dpark on Wednesday June 14, 2017 @02:59PM
(#14555125)
No, because someone MITMs your insecure channel and serves you a malicious page that steals your password and the unencrypted data.
Re:Show HN: Password-protect a static HTML page
by gjjrfcbugxbhf on Wednesday June 14, 2017 @11:10PM
(#14557655)
The OPs point is very clear. Js encryption has a lot to do to prove itself before it should be trusted with production secrets.
Furthermore weak encryption is worse than no encryption if it encourages dangerous behavior.
I would add that dropping ssl because you are using something like this would be dangerous behavior.
It's really unclear what your point is here.