Author: fanningpj Date: Sat Feb 17 19:24:48 2024 New Revision: 1915848 URL: http://svn.apache.org/viewvc?rev=1915848&view=rev Log: try to set security headers
Added: xmlbeans/site/build/site/.htaccess Added: xmlbeans/site/build/site/.htaccess URL: http://svn.apache.org/viewvc/xmlbeans/site/build/site/.htaccess?rev=1915848&view=auto ============================================================================== --- xmlbeans/site/build/site/.htaccess (added) +++ xmlbeans/site/build/site/.htaccess Sat Feb 17 19:24:48 2024 @@ -0,0 +1,8 @@ +# Security Headers +Header set Strict-Transport-Security "max-age=31536000" +Header set Content-Security-Policy "default-src 'self' https://xmlbeans.apache.org/ ; style-src 'self' https://xmlbeans.apache.org/ 'unsafe-inline' ; script-src 'self' https://xmlbeans.apache.org/ 'unsafe-inline' ; frame-src 'self' ;" +Header always set X-Frame-Options SAMEORIGIN +Header set X-Content-Type-Options nosniff +Header set X-XSS-Protection "1; mode=block" +Header set Referrer-Policy: strict-origin + --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org For additional commands, e-mail: commits-h...@poi.apache.org