password secured page
Is it possible to create a page that requires a password to access?
8 Replies
You can use something like StaticShield from Vercel or a Cloudflare App!
Though I'd recommend something like StaticShield, it's pretty easy to setup.
Know the cost?
StaticShield is free to my knowledge!
This does not look like good security to me. It will still load the static site, it'll just redirect the user if they are not logged in. This is trivial to bypass.
A better solution would use workers. If you check the token in a worker, and only allow them through if it is valid, it would be a lot more secure
You could just use Cloudflare Access as well, but it doesn't support Passwords, would have to use Email single use tokens or hook up an identity provider like Google/Github, although that is more secure
Wow, yeah, that StaticShield thing is a toy, not suitable for any real use
Yeah it's useful when you want some quick, temporary protection so I recommended it; I don't really know the scope of the site but good points