AdguardTeam / AdguardTeam/AdGuardHome

Session cookie prefixes

Đang mở
#4,555 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

To secure a session cookie `agh_session` even more, we could introduce a slight security improvement called [Cookie Prefixes](https://googlechrome.github.io/samples/cookie-prefixes/#:~:text=As%20described%20in%20an%20Internet,request%20to%20set%20a%20cookie.).

In other words, if a Control Panel is secured with HTTPS, a session cookie name should be changed from `agh_session` to `__Host-agh_session` (preferable) or `__Secure-agh_session` (less preferable).

It seems that all major [browsers support it](https://caniuse.com/mdn-http_headers_set-cookie_cookie_prefixes)

Screenshot 2022-05-06 184855

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.