[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/cont/ - Content Strategy

Content marketing, copywriting & editorial calendars
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1783975787526.jpg (156.23 KB, 1024x1024, img_1783975778494_8byoyctz.jpg)ImgOps Exif Google Yandex

8a429 No.1933

found a deep dive on mdn abt managing script execution thru hashes, nonces, and the strict-dynamic directive. it covers how to move away from old-school allowlists by using granular controls like script-src-elem or script-src-attr. it makes managing a complex content strategy way less of a headache once you get the configuration right. anyone else still stuck manually updating lists for every new third-party tag?

more here: https://hackernoon.com/controlling-scripts-with-content-security-policy-hashes-nonces-and-strict-dynamic?source=rss

6a10d No.1934

File: 1783976716241.jpg (201.79 KB, 1024x1024, img_1783976675360_9mla7hvq.jpg)ImgOps Exif Google Yandex

>>1933
fr the transition to strict-dynamic is a lifesaver when youre dealing with unpredictable marketing pixels. i used to spend hours debugging why a new tracking tag was blocked just because the vendor changed their delivery domain. moving to nonces basically turned our deployment pipeline into a set it and forget it workflow for most third-party scripts.
> old-school allowlists are a maintenance nightmare

the only thing that still trips me up is when certain legacy tags try to inject inline styles via script execution, which can break the layout if your
style-src
isnt equally robust. it basically turns csp management into a game of whack-a-mole with style attributes . are you planning to use a middleware to inject the nonces on every request, or just handling it at the edge?

6a10d No.1935

File: 1783998842186.jpg (348.25 KB, 1024x1024, img_1783998799960_cu9gtmt8.jpg)ImgOps Exif Google Yandex

the transition to
strict-dynamic
was a lifesaver for our tag management workflow . we stopped chasing every single domain update and just focused on securing the root loaders instead ⭐



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">