Page 1 of 1
Top Level Domain Support
Posted: Thu Feb 14, 2013 1:45 am
by DaVinci
I need to be able to whitelist a top level domain, not just second and third level subdomains. How can I do this?
I have added a top level domain, but it appears to be ignored.
Re: Top Level Domain Support
Posted: Thu Feb 14, 2013 2:12 am
by Tom T.
DaVinci wrote:I need to be able to whitelist a top level domain, not just second and third level subdomains. How can I do this?
I have added a top level domain, but it appears to be ignored.
That is because whitelisting a TLD is virtually the same as "
Scripts Globally Allowed (dangerous)", because you have no idea what second-level domains have registered, or will register, with that TLD in the future. Thus exposing you to the entire scripting universe of that TLD. This is why NS will not let you do this. Even .edu could have an evil person register some malicious site under an innocent-appearing *.edu subdomain name.
Trying to stretch the imagination, perhaps you have created some private, unregistered TLD on your own LAN or whatever. Just whitelist all sites within it, or whitelist the LAN IP of that internal domain, if that is really what you want to do.
Re: Top Level Domain Support
Posted: Thu Feb 14, 2013 2:22 am
by DaVinci
Trying to stretch the imagination, perhaps you have created some private, unregistered TLD on your own LAN or whatever. Just whitelist all sites within it, or whitelist the LAN IP of that internal domain, if that is really what you want to do.
As a matter of fact, we do have a private tld and that tld is reachable over the public internet with several hundred well controlled subdomains. It is practicly impossible for a malicious person to register a subdomain that would have malicious code. At least no more possible than putting the code into an existing subdomains code.
Re: Top Level Domain Support
Posted: Thu Feb 14, 2013 3:13 am
by Thrawn
DaVinci wrote:As a matter of fact, we do have a private tld and that tld is reachable over the public internet with several hundred well controlled subdomains. It is practicly impossible for a malicious person to register a subdomain that would have malicious code. At least no more possible than putting the code into an existing subdomains code.
If they're in the same subnet, then you can do it:
http://noscript.net/features#shorthand
Re: Top Level Domain Support
Posted: Thu Feb 14, 2013 5:27 pm
by DaVinci
Unfortunately, I have the whole internet address range to deal with, so the shorthand method will not work.
Re: Top Level Domain Support
Posted: Thu Feb 14, 2013 10:51 pm
by Thrawn
If you have a complete list of the registered subdomains, then you could export your whitelist, add the list of subdomains, and re-import it.
Re: Top Level Domain Support
Posted: Fri Feb 15, 2013 2:56 am
by DaVinci
Thrawn wrote:If you have a complete list of the registered subdomains, then you could export your whitelist, add the list of subdomains, and re-import it.
Unfortunently, I do not have such a list. This is why I needed to use the tld. I am not the controller of such things, only a lowly scripter.
Re: Top Level Domain Support
Posted: Fri Feb 15, 2013 10:20 am
by Tom T.
DaVinci wrote:Thrawn wrote:If you have a complete list of the registered subdomains, then you could export your whitelist, add the list of subdomains, and re-import it.
Unfortunently, I do not have such a list. This is why I needed to use the tld. I am not the controller of such things, only a lowly scripter.
The controller of such things needs to know that you need to know exactly which subdomains to whitelist, else you cannot have NoScript's full protection.
Please feel free to point the controller of such things to this topic, and perhaps to join the discussion.