Page 1 of 1

RFE: Options to anonymize more requests

Posted: Thu Jul 04, 2013 3:02 am
by Thrawn
NoScript anonymizes POST requests from untrusted sites to trusted ones. This is a great CSRF defence.

Would it be simple to implement the following, probably as preferences in about:config?
  1. Anonymize ALL requests from untrusted sites to trusted sites - in case sites do dumb things like allowing GET-based CSRF.
  2. Anonymize all requests sent to non-whitelisted sites - to hinder tracking services.
  3. Anonymize/block requests sent to sites specifically marked as Untrusted (which are usually trackers).
I would probably use #1 and #3, and would at least experiment with #2.

ABE can sort of do this, but it requires rules to be written per-site, whereas managing the regular whitelist and blacklist is much easier.

Re: RFE: Options to anonymize more requests

Posted: Wed Jul 31, 2013 11:09 pm
by Thrawn
In a similar vein, I noticed that the code in Policy.js to stop Google Analytics web bugs (unless Google Analytics is whitelisted) is hardcoded to look for 'google-analytics'. Maybe it could be converted to use a list of strings specified by a preference in about:config. Or it could apply to all sites specifically marked as Untrusted, which would fulfil point #3 above; after all, usually such sites are nonessential trackers.

Anyone's thoughts?

Re: RFE: Options to anonymize more requests

Posted: Thu Aug 08, 2013 8:06 am
by Giorgio Maone
Both proposals are interesting, putting the topic link in my TODO list.

Re: RFE: Options to anonymize more requests

Posted: Fri Aug 09, 2013 1:35 am
by Thrawn
Thanks :)

Point #1 could also defeat the CRIME and BREACH attacks on TLS.

Re: RFE: Options to anonymize more requests

Posted: Wed Aug 28, 2013 11:33 pm
by Thrawn
@Giorgio: Actually, I'm now in the process of handling this myself, in SABER :).

If you're interested, I'll PM you the link to the XPI file on my Google Drive.