1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

Updated Optional Hardening (markdown)

HJ
2023-09-30 00:16:04 -04:00
parent 9bce723d44
commit c9dcd743b6
-11
@@ -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 ### Secure DNS
Setup and enforce DNS-over-HTTPS (DoH). Setup and enforce DNS-over-HTTPS (DoH).