Home : Internet Terms : 403 Error Definition

403 Error

A 403 error is an HTTP error code that indicates access to a specific URL is forbidden. Websites often display 403 errors with a generic message such as, "You don't have permission to access this resource."

There are several reasons a web server may produce a 403 forbidden error. Some of the most common include:

  1. A missing index page
  2. An empty directory
  3. Invalid folder permissions
  4. Invalid file permissions
  5. Invalid file ownership

When you access a website directory on an Apache web server (a URL ending with a forward slash "/"), the standard behavior is to display the contents of the index page (index.php, index.asp, etc). If no index page is available, the fallback option is to list the contents of the directory. However, for security purposes, many web servers are configured to disallow directory listings. Therefore, if you access an empty directory or a folder without an index page, you may receive a 403 error because the directory listing is forbidden.

Invalid file and folder permissions can also produce 403 errors. Generally, files and folders on web servers must have the following permissions enabled:

  • Files
    Owner: read, write
    Group: read
    Everyone: read
  • Folders
    Owner: read, write, execute
    Group: read, execute
    Everyone: read, execute

If a specific file or the parent folder has incorrect permissions, the web server may be unable to access it, producing a 403 forbidden error. Similarly, if a file's "owner" does not match the corresponding website user account, it may generate a 403 error. Ownership discrepancies can occur when files are transferred between accounts on a web server or when a file is uploaded by another user.

In some cases, access to a specific URL is intentionally forbidden for security reasons. In other cases, a forbidden error may be caused by an accidental website misconfiguration. If you unexpectedly receive a 403 error in your web browser, you can contact the webmaster of the corresponding website and provide the URL that produced the error.

Updated: June 19, 2021

Cite this definition:

https://techterms.com/definition/403_error

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of 403 Error. It explains in computing terminology what 403 Error means and is one of many Internet terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this 403 Error definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.