# Assigning a Block Page

### Do you want to set a block page or security risk page if your users try to access certain categories?

You can assign a block page or security risk page, to any DOPE or Custom Category, with restriction level of “Block.”

This can be done at either parent or subcategory level by selecting the dropdown in the right panel of the console. If you assign a block page at the parent category level, all subcategories are assigned the same block page.

![](/files/9yMqAgPalRKBZoeeHFRg)

The drop down shows a list of all the default and custom block and security risk pages. If the Default Block page has been assigned to a category, this is what is displayed to the user if they try to access this category.

![](/files/7FEXvVMgxprSzcd73qFu)

You can also customize a block page to brand it to your own organization.

<figure><img src="/files/sJvlieaXAaXDLe4sEeTz" alt=""><figcaption><p>Custom block page example</p></figcaption></figure>

For information on default and custom pages go to [Block Pages](/dope.console/settings/block-pages.md).

The same rules apply for categories with a restriction level of “Warning” — the drop down will only show you the default or custom warning pages.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://inflight.dope.security/dope.console/dope.swg-policy/assigning-a-block-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
