> For the complete documentation index, see [llms.txt](https://docs.guardware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardware.com/documentation/protect/protection-scope/trusted-websites.md).

# Trusted Websites

The **Trusted Websites** section lets you add websites that can access protected files. When users upload encrypted files to a listed website, PROTECT decrypts them so the website can process them. PROTECT encrypts files downloaded from the website to maintain protection.

{% hint style="info" %}
Only websites added to this list are allowed to securely access encrypted files.
{% endhint %}

### Add a Website

1. Navigate to **PROTECT > Protection Scope > Trusted Websites**.
2. Click **+New Website**.

   <figure><img src="https://2233655803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6thNYq9Il6WA2mTbj6X%2Fuploads%2F61kah9XwKsB8jD3Yq5k3%2Fimage.png?alt=media&amp;token=eab27bf7-b198-4238-a3b8-f216ab4754a0" alt=""><figcaption></figcaption></figure>
3. In **Classification Label**, choose the classification label to apply to unprotected files downloaded from the listed websites.
4. In **Security Groups**, select the Security Groups that can access files downloaded from the listed websites.
5. In **URL**, enter the website address that can interact with protected files.

   *Example: <https://protect.mycompany.com>*
6. In **Identifiers** (optional), click **+** to add an identifier. Identifiers help PROTECT detect specific elements or sections of the website where file uploads or downloads occur. This ensures decryption and encryption occur **only on authorised upload and download components**, not the entire page.

   Each identifier includes:

   1. **DOM Element Selector:** Enter the **CSS selector** for the web page element that PROTECT should identify or match. This tells PROTECT *which element* on the page is linked to file operations.

      **Examples:** `#uploadBtn`, `.input-field`, `div.file-section`, `button[data-action="upload"]`
   2. **Search Value:** Enter a value that identifies your organisation in the selected element, such as part of the signed-in email address or company name. PROTECT decrypts files only when this value is found. This limits decryption to accounts that belong to your company.

      **Examples:** `guardware.com.au`, `@guardware.com.au`, `GuardWare Australia`
7. In **Extensions that are decrypted**, choose how PROTECT handles file extensions when interacting with the website:
   1. **All:** PROTECT decrypts all encrypted files uploaded to the website and encrypts all files downloaded from it.
   2. **All but these extensions:** PROTECT decrypts uploaded files and encrypts downloaded files, except for files with the listed extensions.
   3. **Only these extensions:** PROTECT decrypts uploaded files and encrypts downloaded files only when they have the specified extensions.

      **Examples:** `.csv`, `.xml`

      Use the **+** button to add multiple extensions.
8. Click **Save**. The website appears in the **Website List**, where you can edit or remove it later.

   <figure><img src="https://2233655803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6thNYq9Il6WA2mTbj6X%2Fuploads%2Fn0vB4H5lSPv02p83FD5b%2Fimage.png?alt=media&amp;token=6d21af2a-6a6c-4acc-8849-a94787f1e4f0" alt=""><figcaption></figcaption></figure>

For example, with the configuration shown in the image, PROTECT decrypts files only during upload when the user is signed in to SharePoint with a GuardWare Australia account. If the user is signed in with another account, the files remain encrypted.

### Edit a Website

1. Navigate to **PROTECT > Protection Scope > Trusted Websites**.
2. Search for the website you want to edit and click the **Edit** icon in the **ACTIONS** column.

   <figure><img src="https://2233655803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6thNYq9Il6WA2mTbj6X%2Fuploads%2FUKUwcG23Yl3T6iU8CypV%2Fimage.png?alt=media&amp;token=c2b35b05-63f2-4de6-ab13-84cfc62b5001" alt=""><figcaption></figcaption></figure>
3. Update the necessary information and click **Save**.

### Delete a Website

1. Navigate to **PROTECT > Protection Scope > Trusted Websites**.
2. Search for the website you want to delete and click the **Delete** icon in the **ACTIONS** column.
3. Click **Delete** in the Confirmation Alert.


---

# 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://docs.guardware.com/documentation/protect/protection-scope/trusted-websites.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.
