> ## Documentation Index
> Fetch the complete documentation index at: https://docs.softr.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Permission Denied (401)

> Show your users a 401 page when they try to access an unauthorized page.

## Overview

A 401 page is an error message shown by a web server when a user tries to access a resource without proper authentication. It indicates that the request lacks valid credentials, such as a username or password, and prompts the user to log in or provide authorization.

In Softr we call this page Permission Denied, but you can change this to whatever you like - the functionality will stay the same. The page cannot be deleted or removed except by disabling Login functionality in your app’s [User Authentication](/core-concepts-overview/c5VwEbsWtTfPyUZjmEKvfx/user-authentication/7gJmq6B7syYE3hRoFxLs5J) settings.

To access the Permission Denied page/block:

1. Ensure Login is enabled in the [User Authentication](/core-concepts-overview/c5VwEbsWtTfPyUZjmEKvfx/user-authentication/7gJmq6B7syYE3hRoFxLs5J) settings.

2. Click on the Pages menu

3. Select the Permission Denied page from the Utility pages section

4. Click anywhere on the block itself to open additional settings.
   <Frame>
     <img src="https://mintcdn.com/softr-2b8a27e1/2d4HKcSg2NirwD8W/building-blocks/images/permission-denied-401/image1.png?fit=max&auto=format&n=2d4HKcSg2NirwD8W&q=85&s=4ba7b64ac1f9b80c252763dd47fb1329" alt="Notion image" width="2256" height="1265" data-path="building-blocks/images/permission-denied-401/image1.png" />
   </Frame>

## Content

Click on the Content tab to change how the block should function, the image/icon, and the text that should be displayed to the user. You can also turn the button off/on and change where the button should send the user.

<Frame>
  <img src="https://mintcdn.com/softr-2b8a27e1/2d4HKcSg2NirwD8W/building-blocks/images/permission-denied-401/image2.png?fit=max&auto=format&n=2d4HKcSg2NirwD8W&q=85&s=23fcc3561efe5c0b5f1906325ebf2e5f" alt="Notion image" width="2258" height="1262" data-path="building-blocks/images/permission-denied-401/image2.png" />
</Frame>

## Styles

Clicking on the Styles tab will open up panels for changing the page background color, the font colors and sizes, and the button styles.

<Frame>
  <img src="https://mintcdn.com/softr-2b8a27e1/2d4HKcSg2NirwD8W/building-blocks/images/permission-denied-401/image3.png?fit=max&auto=format&n=2d4HKcSg2NirwD8W&q=85&s=83b359401dabceed6717e9ab5d0c3196" alt="Notion image" width="2252" height="1265" data-path="building-blocks/images/permission-denied-401/image3.png" />
</Frame>
