mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 07:30:47 +05:30
Updated Optional Hardening (markdown)
@@ -47,17 +47,6 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
|
||||
|
||||
***
|
||||
|
||||
### SameSite Cookies
|
||||
[SameSite Cookies](https://github.com/yokoffing/Betterfox/blob/79b6694680e73c8cd4ebf781f87d978a06086284/Securefox.js#L141-L150) help prevent cross-site request forgery (CSRF) attacks. They are used to ensure that a website can only be accessed by the same origin that set the cookie, and not by any other website. This helps protect your browser from unauthorized access and data theft.
|
||||
```
|
||||
// PREF: enable SameSite Cookies
|
||||
user_pref("network.cookie.sameSite.laxByDefault", true);
|
||||
user_pref("network.cookie.sameSite.noneRequiresSecure", true);
|
||||
user_pref("network.cookie.sameSite.schemeful", true);
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### Secure DNS
|
||||
Setup and enforce DNS-over-HTTPS (DoH).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user