Whitelist a top level domain

Ask for help about NoScript, no registration needed to post
abhibeckert
Posts: 3
Joined: Sun Apr 03, 2011 11:13 pm

Whitelist a top level domain

Post by abhibeckert »

I work at a web development company, and we have over a thousand websites on our development/testing server. These sites are accessed by adding a custom top level domain to the end of the real domain (example.com.foo).

I tried adding "foo" to the whitelist, but this did not work. I searched the documentation, and it looks like I should be able to add the subnet to the whitelist, but "192.168.42" did not work.

What am I doing wrong? I'm using FireFox 4.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Whitelist a top level domain

Post by dhouwn »

I am guessing it would be no problem if "foo" was a domain + valid TLD. :|
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
abhibeckert
Posts: 3
Joined: Sun Apr 03, 2011 11:13 pm

Re: Whitelist a top level domain

Post by abhibeckert »

The entire point of having a custom TLD for our intranet server is to be invalid, so we don't stomp on any real domain names.

They are all running on the same IP address, so I should be able to add a whitelist for the IP, according to the documentation. But it's not working for me.

Has anyone else been able to successfully add a whitelist for an IP address? What's the exact process?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Whitelist a top level domain

Post by dhouwn »

abhibeckert wrote:The entire point of having a custom TLD for our intranet server is to be invalid, so we don't stomp on any real domain names.
That might become a problem if you let's say plan on getting a certificate from a public CA trusted by Mozilla (ie. no need to import anything on fresh Firefox installations). Probably not in your case, but in most other cases it's a good idea to have subdomains of real domains "owned on the Internet" for the intranet.

Back to the original problem, allowing/disallowing per IP is AFAIK not possible for the JS restriction stuff that NoScript offers (I guess it wouldn't be even possible in theory without much fiddling since NoScript's implementation sits on top of CAPS).
Now it's a different case with ABE (that's where your belief in the possibility of "allowing IPs" might come from) but then it also serves different goals.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
abhibeckert
Posts: 3
Joined: Sun Apr 03, 2011 11:13 pm

Re: Whitelist a top level domain

Post by abhibeckert »

dhouwn wrote:
abhibeckert wrote:The entire point of having a custom TLD for our intranet server is to be invalid, so we don't stomp on any real domain names.
That might become a problem if you let's say plan on getting a certificate from a public CA trusted by Mozilla (ie. no need to import anything on fresh Firefox installations). Probably not in your case, but in most other cases it's a good idea to have subdomains of real domains "owned on the Internet" for the intranet.
This is a private server, behind multiple firewalls. There are only about 10 people with access to it. We just use a self signed cert when we need to test SSL behind the firewall. The point is, since we create new websites daily, to not have to train our non-tech-savvy web designers how to setup DNS. They just create a folder "example.com" in the right place, and go to "example.com.foo".
dhouwn wrote:Back to the original problem, allowing/disallowing per IP is AFAIK not possible for the JS restriction stuff that NoScript offers (I guess it wouldn't be even possible in theory without much fiddling since NoScript's implementation sits on top of CAPS).
Now it's a different case with ABE (that's where your belief in the possibility of "allowing IPs" might come from) but then it also serves different goals.
That's a shame. I guess I'll just have to continue using the "allow scripts globally" feature during business hours, and only enable NoScript when I'm at home.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Post Reply