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

Security #82

Open
C0casio45 opened this issue Oct 17, 2023 · 0 comments
Open

Security #82

C0casio45 opened this issue Oct 17, 2023 · 0 comments

Comments

@C0casio45
Copy link
Contributor

C0casio45 commented Oct 17, 2023

Hey,
It may a bit off topic but adding the most common security headers may be a good idea

Strict-Transport-Security <- strengthens tls implementation

Content-Security-Policy <- prevent xss attack
X-XSS-Protection <- same

X-Frame-Options <- prevent clickjacking

X-Content-Type-Options <- prevent MIME sniffing

Referrer-Policy <- control how much information the browser with navigation
enum ReferrerPolicy {
"",
"no-referrer",
"no-referrer-when-downgrade",
"same-origin",
"origin",
"strict-origin",
"origin-when-cross-origin",
"strict-origin-when-cross-origin",
"unsafe-url"
};

Permissions-Policy <- controle wich feature and api can be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant