A simple demonstration of Content Security Policy (CSP) frame-src directive behavior with different configurations.
Test 1 (/test1) - CSP: frame-src 'none'
Test 2 (/test2) - CSP: frame-src 'self'
Test 3 (/test3) - CSP: frame-src 'self'
backend/index.ts - Main Hono server with CSP headersfrontend/ - Static HTML pages for each testfrontend/hello.html - Simple hello world page (no iframes)frontend/hello-with-iframe.html - Hello world page with iframe to external sitefrontend/hello-with-nested-srcdoc.html - Hello world page with srcdoc containing external iframe