Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jalexis 8 posts 80 karma points
    Oct 27, 2021 @ 12:43
    jalexis
    1

    Content Security Policy For Dynamic Inline Styles and Scripts

    Good day!

    I would like to ask what is the best way to implement Content Security Policy in Umbraco. Our website contains alot of inline styles because of RTE and we need to include its hash in the CSP. I tried to create a function that will dynamicaly render hash. May I know how can I apply it in the CSP header on the fly? Thank you

  • Jan A 63 posts 268 karma points
    Nov 04, 2022 @ 11:04
    Jan A
    0

    Did you ever succeded in this? Have an "old" site that I would like to secur a bit more, and need to find a way to do nonce

  • Jonathon Cove 9 posts 24 karma points
    Jun 11, 2024 @ 10:38
    Jonathon Cove
    0

    I've successfully implemented a nonce system in my v8 site, I've documented the solution here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/88405-content-security-policy#comment-350935

Please Sign in or register to post replies

Write your reply to:

Draft