• Hi

    Can you please let me know if I should add a content security policy or if it is not necessary because by site is protected by cerber?

    Thank you

    Best regards
    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • Adding Content Security Policy HTTP header or html meta tags to your website will add another layer of security.

    If you decide to add CSP, you need to add it separately to: 1) “main website area” 2) login area 3) admin area.

    If you add CSP to HTTP headers (and not meta tags), you can use ‘send_headers’, ‘login_init’ and ‘admin_init’ hooks in your functions.php.

    Thread Starter john53

    (@john53)

    Hi

    Thank you very much.

    I have implemented the CSP although Ive had to make some compromises on security to ensure the website still functions correctly.

    Best regards

    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content Security Policy’ is closed to new replies.