What is the name of the domain?
What is the error message?
“You need permission to access this resource” (Cloudflare Access login prompt)
What is the issue you’re encountering
I’m using Cloudflare Zero Trust Access to protect my web application hosted at files.***. However, I need certain URLs — specifically those under /share/ — to remain publicly accessible without requiring Access authentication. Currently, even those public share links are behind Access login, which breaks the sharing feature.
What steps have you taken to resolve the issue?
I’ve reviewed the Cloudflare Access documentation and found that Access policies can include Bypass rules. I attempted to create a Bypass rule with a path-based condition for /share/* but it didn’t seem to work as expected — the Access login screen still appears.
What are the steps to reproduce the issue?
- Set up a Cloudflare Access policy to protect all paths under files.example.com.
- Try visiting a public share URL like https://files.example.com/share/abc123 — you’ll be prompted to authenticate via Access.
- Add a policy with Bypass action for paths matching /share/* or similar.
- Visit the same share URL again — it still triggers the Access login screen.