Skip to content
Cloudflare Docs

Set up your security.txt file

You can manage your security.txt file via the dashboard or the API.

To manage your security.txt file via the Cloudflare dashboard:

  1. Log in to the Cloudflare dashboard, select your account and domain.
  2. Go to Security > Settings and filter by Web application exploits.
  3. Under Security.txt > Configurations, select the edit icon.

From here, you can create and manage your security.txt file to provide the security research team with a standardized way to report vulnerabilities.

Fill in the following information:

  • (Required) Contact: You can enter one of the following to contact you about security issues:

    • An email address: The email address must start with mailto: (for example, mailto:help@example.com).
    • A phone number: The phone number must start with tel: (for example, tel:+1 1234567890).
    • A URL link: The URL link must start with https:// (for example, https://example.com).

    Select Add more to add multiple contacts.

  • (Required) Expires at: Enter the expiration date and time of the security.txt file.

  • Encryption: A link to a key which security researchers can use to communicate with you.

  • Acknowledgements: A link to your acknowledgements page.

  • Canonical: Links to your security.txt file.

  • Hiring: A link to your security-related job openings.

  • Policy: A link to a policy describing what security researchers should do when searching for or reporting security issues.

  • Preferred languages: A list of language codes that your security team speaks.

Once you have entered the necessary information, select Save.

To edit your security.txt file:

  • Old dashboard: Select Security > Settings > Edit Security.txt.
  • New security dashboard:
    1. Go to Security > Settings and filter by Web application exploits.
    2. Under Security.txt > Configurations, select the edit icon.

To download your security.txt file:

  • Old dashboard: Select Security > Settings > Download Security.txt.
  • New security dashboard:
    1. Go to Security > Settings and filter by Web application exploits.
    2. Under Security.txt > Configurations, select the download icon.

To delete your security.txt file:

  • Old dashboard:
    • Select Security > Settings > Delete Security.txt.
  • New security dashboard:
    1. Select Security > Settings and filter by Web application exploits.
    2. Under Security.txt > Configurations, select the edit icon.
    3. Select Delete.