fix(security): secure session cookies and HSTS in prod #15
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Session and remember-me cookies aren't
secure(endpoint.ex, user_auth.ex:14) and there's no HSTS. Setsecure: truewhen the URL scheme is https and enableforce_ssl/HSTS in prod (respecting the http-only LAN case, see the PHX_SCHEME issue).Found in the pre-1.0 gap audit of main @
69e09f0.