How to password protect a react microsite served as a subdomain over Cloudflare.
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

We have a react microsite that will be hosted on S3 and connected to Cloudflare as a subdomain to our main site. We want to password protect it with one password that we'll share with people when needed. Any way to do this without having to mess with the code?

awarded to kostasx

Crowdsource coding tasks.

2 Solutions

Winning solution

I've been using this tool for encrypting a client's site: https://github.com/robinmoisson/staticrypt

Thanks, this looks promising.
fifo 12 days ago
Thanks!
kostasx 11 days ago

You may use Cloudflare's workers with this worker: https://github.com/dommmel/Cloudflare-workers-basic-auth

View Timeline