Password protect a static HTML page, decrypted in-browser in JavaScript
1–10 of 48 posts
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#2Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#3Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#4This is what I'm looking for: a way to put something in public (I'm using Vercel) that "only" me can access (anybody who can decrypt it doesn't need the content that I encrypt).
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#5This is what I'm looking for: a way to put something in public (I'm using Vercel) that "only" me can access (anybody who can decrypt it doesn't need the content that I encrypt).
Just encrypt it with Age?
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#6This is what I'm looking for: a way to put something in public (I'm using Vercel) that "only" me can access (anybody who can decrypt it doesn't need the content that I encrypt).
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#7Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#8> returns a static HTML page showing a password prompt that you can now safely upload anywhere Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
Re: Password protect a static HTML page, decrypted in-browser in JavaScript
#9> returns a static HTML page showing a password prompt that you can now safely upload anywhere Anywhere that you trust, and where the page is hosted securely. For example, a malicious hosting service could alter the password prompt. Or the page as a whole could be put in a frame with a transparent overlay.
Clickjacking has been a solved problem for over a decade. Set X-Frame-Options: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-...