Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

Note from 3 July 2020

  • Nicolas Hoizey
  • 3 July 2020
  • CSP, security, Service Worker, TIL
  • 9 reactions

TIL: if you cache images with a Service Worker, and you have a Content Security Policy, the image's origin should be in both the img-src and connect-src directives.

Details from @qubyte: https://qubyte.codes/blog/content-security-policy-and-service-workers

9 reactions

6 likes

  1. Dr Mark Everitt avatar
  2. Gaël Poupard avatar
  3. @inseo@mamot.fr avatar
  4. Jean-Pierre Vincent avatar
  5. Richard Pasquiou avatar
  6. Florian Truchot avatar

1 repost

  1. Patidou avatar

2 mentions

  1. Nicolas Hoizey avatar Nicolas Hoizey
    TIL: if you cache images with a Service Worker, and you have a Content Security Policy, the image's origin should be in both the `img-src` and `connect-src` directives.

    Details from @qubyte: qubyte.codes/blog/content-s…

    nho.link/n/2020/07/03/2/
    • 3 July 2020, 14:43
    • Source
  2. Nicolas Hoizey avatar Nicolas Hoizey
    TIL: if you cache images with a Service Worker, and you have a Content Security Policy, the image's origin should be in both the `img-src` and `connect-src` directives.

    Details from @qubyte: qubyte.codes/blog/content-s…

    nho.link/n/2020/07/03/2/
    • 13 July 2020, 07:06
    • Source
  • Older: Note from 3 July 2020
  • Newer: Note from 18 July 2020

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy