Access denied page

The Access denied page appears when a reader with some access permissions in your knowledge base tries to access a Knowledge base site URL to which the reader doesn't have access.

For example, if a reader has access to only a few categories in a mixed knowledge base and tries to access a URL for which the reader doesn't have access permission, the access denied page appears.

2_Screenshot-Example_Access_denied_custom_page

Customize the 'Access denied' page of your knowledge base site and provide a descriptive reason with a solution, such as 'Contact your admin for access.' This page would allow readers to understand the cause and solution.

After configuring a custom page, you cannot switch to your default 'Access denied' page. It is recommended to have a custom page to enhance the reader experience.


How to customize the access denied page?

1_ScreenGIFs-Access_denied_navigating

  1. From the Knowledge base portal, navigate to "Settings -> Knowledge base site -> Customize site"

  2. The page holds all the basic site design configurations

  3. From the "Customize site" page, click "Customize site" again

  4. From the left side drop-down, select the Access denied page you wish to customize listed under "Error pages".

  5. You can find two sections on this page

    1. Basic style - Basic customization with the available options
    2. Custom style - Customize with HTML and CSS
  6. Once you're done, click Save

Basic style

You can use the options such as Theme, Image, Heading, and Paragraph.

Theme

Change the location of text and image with this option. By default, three predefined alignments are available for selection.

  • Click on the desired theme and click Save to update the custom page

Upload image

Upload a related image to enhance the page.

  1. Click the Image button, and image pane appears

  2. Click Change and you can select two sections

    a. Default images - You can find the default images provided and click the desired image and click Save

    b. Image - To upload a desired image from URL or Drive

    • To upload an image from URL:

      • Click Image and enter the image URL in the URL field
      • Click InsertSave
    • To upload an image from Drive:

      • Click ImageUpload an image and the file selection window appears
      • Select the desired image
      • Click InsertSave
  3. You can also configure the alignment of the image, such as in left, center, and right.


Heading

Enter the desired heading of the page and click Save.

The default heading will be "Sorry!".


Paragraph

Enter a paragraph for the page. It allows the readers to know the context of the page.

You are not authorized to access this article or page.


Custom style

Customize the access denied page with HTML or CSS section.

  • Select the Custom style, and you can find two tabs:

    • HTML section
    • CSS section
  • Navigate to the desired tab and update the section as per your requirement

  • Click Preview toggle on the top right of the section to view the preview of the customized access denied page

  • Once you're done, click Save


Custom pages in Document360

Check the Custom pages article to explore the available custom pages in Document360.

Access denied page vs Unauthorized page

An "Access Denied" page and an "Unauthorized" page refer to two similar but distinct concepts in the Knowledge base.

An "Access Denied" page is displayed when a user tries to access a resource or a page on a website, but they do not have the necessary permissions to do so. This can happen when a user tries to access a restricted area of a website, such as a protected file or a private section of a website, without the correct credentials.