AdguardTeam / AdguardTeam/AdGuardHome

Session cookie prefixes

オープン
#4,555 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。