diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-29 09:02:47 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-29 09:02:47 -0600 |
| commit | 65389b93922e193be8769609e29fff6243147a9c (patch) | |
| tree | ce0eb5300c4ab281bac6f30832d8ae1e0b2fe9eb /go.sum | |
| parent | 9b6982dd53c16b6ec7d333e621429781ac1653f7 (diff) | |
Use secure and http flag on cookies everywhere
> A cookie with the Secure attribute is only sent to the server with
> an encrypted request over the HTTPS protocol. It's never sent with
> unsecured HTTP (except on localhost), which means man-in-the-middle
> attackers can't access it easily. Insecure sites (with http: in the
> URL) can't set cookies with the Secure attribute. However, don't
> assume that Secure prevents all access to sensitive information in
> cookies. For example, someone with access to the client's hard disk
> (or JavaScript if the HttpOnly attribute isn't set) can read and
> modify the information.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies#block_access_to_your_cookies
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions
