Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Manage Security Headers

avatar of Kira Hartley

Kira Hartley

Last updated

This feature will be available following the September 2026 release in your region. This task is for users with the OC Developer role.

You can manage your own security headers for each of your websites from the CMS admin. Security headers tell browsers how to handle website content securely and block common attacks. 

To manage security headers:

  1. Go to More > Security Header Management.
  2. Select the Policy you need to edit:
    • Content Security Policy: This header is used to control where different resources, such as scripts, stylesheets, images, media, and fonts, can be loaded from.
      Manage security headers screen with the content security policy section selected
    • Cross Origin Opener Policy: This header manages optional settings for public site HTML responses. It isolates the browsing content from other windows and can help reduce cross-origin attacks. By default, this is set to Unset (default - header not sent).
    • Cross Origin Resource Policy: This header manages optional settings for public site responses, such as HTML, .AXD, and static JS, CSS, or image files. This policy restricts which origins can load these repsonses. It can help reduce cross-origin attacks. By default, this is set to Unset (default - header not sent).cross origin resource policy selection menu with the options showing
  3. Save your changes as you move between policies.

These security headers apply per site; you will need to enact them on your public site, and any subsites you need as well.

Was this article helpful?
0 out of 0 found this helpful