Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Content Security Policy #61

Open
L1lith opened this issue Oct 5, 2022 · 0 comments
Open

Implement a Content Security Policy #61

L1lith opened this issue Oct 5, 2022 · 0 comments
Labels

Comments

@L1lith
Copy link
Collaborator

L1lith commented Oct 5, 2022

CSP Generator came up with this:

default-src 'self';
script-src 'self';
style-src 'self' http://fonts.googleapis.com;
object-src 'none';
base-uri 'self';
connect-src 'self';
font-src 'self';
frame-src 'self' https://www.youtube.com;
img-src 'self' https://play-lh.googleusercontent.com https://user-images.githubusercontent.com;
manifest-src 'self';
media-src 'self';
worker-src 'none';

Maybe it's good enough?

@L1lith L1lith added the security label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant