Securing your Shiny Dashboard
summary
Shiny apps are regular web pages so adding server headers prevents widespread supply‑chain hacks like the BrowseAloud→CoinHive incident that silently ran miners on NHS and other sites. Use Nginx/Caddy/Apache or Posit Connect to set a precise Content Security Policy (CSP) and Strict‑Transport‑Security, run CSP in report‑only/report‑to mode to collect JSON violation logs to a DB/API, and scan apps with the Jumping Rivers serverheaders tool — policy enforcement and monitoring prove practical and effective.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:13Why security matters for Shiny
- 4:01Security is hard demonstration
- 8:40Hacking through third-party plugins
- 10:45Understanding server headers
- 12:30Content Security Policy explained
- 17:43CSP report-only and debugging
- 21:38Strict Transport Security
- 22:41Referer policy controls
- 23:24Security headers implementation
- 24:05Q&A session
