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

Enhancing the security of cookies #5102

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

Mogost
Copy link
Contributor

@Mogost Mogost commented May 28, 2024

Description

I've added a Secure- prefix for cookies to enhance security by ensuring that cookies are only sent over HTTPS connections. It's an additional layer of protection that might be easily used.

Rationale

This change is necessary to improve the security of cookie handling by ensuring cookies are only transmitted over secure HTTPS connections. This mitigates the risk of cookie theft and session hijacking.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#cookie_prefixes

@browniebroke browniebroke merged commit bcd4437 into cookiecutter:master Jun 15, 2024
13 checks passed
@Mogost Mogost deleted the secure-prefix branch June 17, 2024 08:17
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