Skip to content

Add Strict-Transport-Security (HSTS) header#7615

Merged
burak-58 merged 4 commits intomasterfrom
fix/strict-transport-security
Feb 18, 2026
Merged

Add Strict-Transport-Security (HSTS) header#7615
burak-58 merged 4 commits intomasterfrom
fix/strict-transport-security

Conversation

@muratugureminoglu
Copy link
Collaborator

@muratugureminoglu
Copy link
Collaborator Author

Without HSTS, an attacker can downgrade a secure HTTPS connection to HTTP (SSL stripping), potentially exposing:

Login credentials
Session cookies
JWT tokens
API keys

HSTS completely blocks this attack by preventing the browser from making HTTP requests at all.

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

@burak-58 burak-58 merged commit 7f3434d into master Feb 18, 2026
12 of 13 checks passed
@burak-58 burak-58 deleted the fix/strict-transport-security branch February 18, 2026 08:43
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

Successfully merging this pull request may close these issues.

2 participants