> For the complete documentation index, see [llms.txt](https://inflight.dope.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inflight.dope.security/dope.console/dope.swg-policy/assigning-a-block-page.md).

# 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.

![](https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2Fetj4s3yU1Yf3GXBypJCa%2Fgitbook-2023_51.png?alt=media\&token=59ad5e21-6717-4831-bcd1-171624bd2e16)

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.

![](https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2F0rLMb9f2bliZZXivdAB2%2Fblock-default.png?alt=media\&token=1c8a40ef-40bf-4fe9-ab27-5c2ed75ffb93)

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

<figure><img src="https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2FDeetXEnpfZKK8lcUFaUh%2Fblock-custom.png?alt=media&amp;token=f883613c-08e2-430d-a877-d10e83bd6c0e" alt=""><figcaption><p>Custom block page example</p></figcaption></figure>

For information on default and custom pages go to [Block Pages](https://inflight.dope.security/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
