allow whitelist entries to apply only on certain domains
Posted: Fri May 06, 2016 1:44 pm
Hey.
AFAIU, right now when one whitelists a certain domain, then scripts from that are allowed everywhere, i.e. on the sites from the domain itself but also on sites on any other domain which just uses them (e.g. as 3rd party scripts).
Typical examples are all the facebook.net, jquery.com and similar crap, which from a security PoV one may not want to whitelist globally.
The natural way to overcome this, would be to allow whitelist entries be specified for a list of domains only.
e.g. allow facebook.net on facebook.com, facebook.net and perhaps example.org, but nowhere else.
If no such domain(s) are specified for an entry, the current behaviour of allowing it globally should be retained (though the UI should perhaps visualise that somehow, e.g. with an implicitly set "*").
Obviously, such feature should also find it's way into the UI,... i.e. when one clicks at the noscript icon and allows/forbids scripts from a certain domain (and/or its subdomains), it should further allow one to select whether this is done globally or only for the domain (and/or subdomains) of the current site.
Cheers,
Chris.
AFAIU, right now when one whitelists a certain domain, then scripts from that are allowed everywhere, i.e. on the sites from the domain itself but also on sites on any other domain which just uses them (e.g. as 3rd party scripts).
Typical examples are all the facebook.net, jquery.com and similar crap, which from a security PoV one may not want to whitelist globally.
The natural way to overcome this, would be to allow whitelist entries be specified for a list of domains only.
e.g. allow facebook.net on facebook.com, facebook.net and perhaps example.org, but nowhere else.
If no such domain(s) are specified for an entry, the current behaviour of allowing it globally should be retained (though the UI should perhaps visualise that somehow, e.g. with an implicitly set "*").
Obviously, such feature should also find it's way into the UI,... i.e. when one clicks at the noscript icon and allows/forbids scripts from a certain domain (and/or its subdomains), it should further allow one to select whether this is done globally or only for the domain (and/or subdomains) of the current site.
Cheers,
Chris.