Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Task secure cookie #1832

Merged
merged 2 commits into from
Nov 13, 2019
Merged

Task secure cookie #1832

merged 2 commits into from
Nov 13, 2019

Conversation

paganotoni
Copy link
Member

@paganotoni paganotoni commented Nov 12, 2019

While running some pen testing in our apps one of the things we found is that the default cookie store may need to set the httpOnly and secure flags to be true.

One great thing is that Gorilla libraries have us covered. I found this OWASP document that explain why we should set theses flags:

https://www.owasp.org/index.php/Testing_for_cookies_attributes_(OTG-SESS-002)

@paganotoni paganotoni requested a review from a team as a code owner November 12, 2019 02:02
@paganotoni paganotoni changed the base branch from master to development November 12, 2019 02:02
@markbates markbates added this to the v0.15.1 milestone Nov 12, 2019
@paganotoni paganotoni merged commit 1baaa78 into development Nov 13, 2019
@paganotoni paganotoni deleted the task-secure-cookie branch November 13, 2019 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants