Password Protect A Pages Site?

How can I password protect a Pages Site (for multiple users)?

I was hoping to use htaccess/htpasswd but so far my attempts have been failing so looking for suggestions.

Thanks

I believe the only option is to use Access.

1 Like

Yea between digging in the docs and the Workers Discord it seems Access is the only way, but the 50 user limit means it’s no good for me (I need approx 150 Users to have access and at over $1000 just for that, it’s a bit beyond our means)

You could use Cloudflare Access to block <project>.pages.dev. and *.<project>.pages.dev. and then deploy a Worker on the custom domain to handle authentication.

Definitely not the prettiest solution but I believe it could work :slightly_smiling_face:

Yea bit messy

I’ll keep trying

:+1: