403 Forbidden means the server understood the request but won't let you see the page. Visitors: check the URL, sign in, clear cookies, and turn off VPN (some sites block VPN IPs). If it persists, the site has restricted access. Site owners: check file permissions (755/644), .htaccess rules, an index file, and firewall/WAF rules.

The short explanation

403 Forbidden means the server understood who you are (or that you're anonymous) and refuses to give access to that page. Common reasons are access rules, IP or country blocks, firewall/WAF rules, or missing permissions on the server's files.

For visitors there is often nothing to fix locally except trying without VPN, signing in, or clearing cookies. Site owners typically find the cause in file permissions or firewall rules.

How it shows up

  • “403 Forbidden. You don’t have permission to access this resource.”
  • The site works on mobile data but not on your home or office network (or vice versa).
  • On your own site, a folder shows 403 instead of its page.

Common causes

  • You are not logged in with an account that has access, or a paywall/geo-restriction applies.
  • Your IP address is blocked by the server, a firewall, or a WAF rule.
  • On a site you host: wrong file/folder permissions or no index file in the directory.
  • A .htaccess or server-config “deny” directive.

How to fix it, step by step

  1. Confirm you are signed in with an authorized account; try the URL from another network, since many blocks are IP-based.
  2. For a site you control, set directory permissions to 755 and file permissions to 644, and make sure an index file exists.
  3. Review .htaccess, server config and any WAF/CDN firewall rules for deny entries or bot rules catching you.

Command

curl -sSI "https://example.com/path/"

The response headers often reveal the source, e.g. a “Server: cloudflare” 403 points at a CDN firewall rule.

How to tell it worked: The resource loads for an authorized user from a normal network.

Keeping it from coming back

Keep firewall/WAF rules narrow, and always ship an index file with public directories.