# Target Verification

## Target Verification

Before scanning a website, it is essential to verify that you have the necessary permissions to do so. **Target verification** in ZeroThreat ensures that only authorized users can initiate security scans on a given target. This step helps prevent unauthorized testing protects website owners, and ensures compliance with security and ethical guidelines.

By verifying your target, you confirm that you have the authority to assess the target website, preventing the risk of abuse.       &#x20;

## Verify a Target

To verify your Target in ZeroThreat, follow these steps:

#### 1. Navigate to the Target Section

* Go to the **Tagrets** ![](https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FaYlZgysk4f9oNNZm1tLk%2Fimage.png?alt=media\&token=6ab8bb1c-ded4-4b4c-a077-c99c67b1944e)Section.&#x20;
* Locate the Target you want to verify and click the **Verify Now** ![](https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FiQvLjZJCV3TLfAJHgXar%2Fimage.png?alt=media\&token=0337bfd1-4f4d-4eb0-9ac6-928f7c811822) button.

<figure><img src="https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FwUiWUN8xFPxSHBN5gejz%2Fimage.png?alt=media&#x26;token=53757301-1441-4fd7-a466-d099fcc644f2" alt=""><figcaption></figcaption></figure>

#### 2. Choose a Verification Method

ZeroThreat provides two methods for Target verification:

**Method 1: HTML File Deployment**

1. **Download the verification file**: ZeroThreat will generate a unique `zero-threat.html` file for your domain.
2. **Upload the file** to the **root directory** of your web application.
   * Example path: `https://yourdomain.com/zero-threat.html`
3. **Verify file accessibility** by visiting the provided URL (e.g., `https://yourdomain.com/zero-threat.html`).

<figure><img src="https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FM4NH1FmX9XdVXKVT46GC%2Fimage.png?alt=media&#x26;token=beb13870-743f-4fed-89db-67274ef48e1c" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Ensure the correct placement**: When using HTML file verification, place the file in the root directory, not in a subfolder.
{% endhint %}

**Method 2: DNS TXT Record Entry**

1. **Copy the TXT record** provided by ZeroThreat.
2. **Log in to your DNS provider** (e.g., Cloudflare, GoDaddy, AWS Route 53).
3. **Navigate to the DNS settings** for your domain.
4. **Add a new TXT record** with the copied verification value.
5. **Save the changes** (reflecting the change may take a few minutes).

<figure><img src="https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FSWOkniHSBY0pH8m4ttkE%2Fimage.png?alt=media&#x26;token=60448adb-f3fe-401d-ba12-8903f536859c" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Allow time for DNS propagation**: Some DNS providers take longer to update, so TXT record verification might not be instant.
{% endhint %}

#### 3. Complete the Verification

* After completing **either** of the above methods, return to **ZeroThreat** and click the **Verify** button.
* ZeroThreat will check and validate your target ownership.
* Once verification is successful, the target will be marked as **Verified** ![](https://1825008717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs6Y7hKb1RwZWFZo4EnUm%2Fuploads%2FRxBU4Lro7T32seQ9LsHW%2Fimage.png?alt=media\&token=0d651d8c-84c1-4ed1-9447-1165e8028f3a), allowing you to proceed with scanning.

Now that your domain is verified, learn about [target-configuration](target-configuration "mention")!&#x20;

