Full address vs full domain advice

Ask for help about NoScript, no registration needed to post
nwusr

Full address vs full domain advice

Post by nwusr »

Can I get some feedback on whether I should allow based on Full Address or Full Domain?

Does Full Address provide more protection from sites pulling files off my computer (e.g., ftp://). Or is Full Address mostly oriented towards HTTPS vs HTTP? What kind of additional protections do I gain by using Full Address--is it worth the extra hassle?
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
barbaz
Senior Member
Posts: 11091
Joined: Sat Aug 03, 2013 5:45 pm

Re: Full address vs full domain advice

Post by barbaz »

Personally I mostly use Full Domains, to the point I don't feel the need to select to show Full Addresses in my NS menu, but that doesn't mean I can't or won't whitelist Full Addresses. I've got 3 full addresses in my whitelist, and those are all special cases where I either ONLY wanted to allow example.net itself but not *any* subdomains of example.net, *or* I want to allow only the HTTPS version (as you already pointed out).

But the main reason I don't bother is the extra menu clutter, and most of the time if I trust a site then I trust its subdomains too (or only with a few exceptions that can just go straight to Untrusted & then they'll stay Forbidden).

Can you please clarify this statement, which I don't understand what you mean?
nwusr wrote:provide more protection from sites pulling files off my computer (e.g., ftp://)
So you have a FTP server on your computer, or you're afraid that when connected to a FTP server that it can pull files off your computer too?
*Always* check the changelogs BEFORE updating that important software!
-
nwusr

Re: Full address vs full domain advice

Post by nwusr »

barbaz wrote:Personally I mostly use Full Domains, to the point I don't feel the need to select to show Full Addresses in my NS menu, but that doesn't mean I can't or won't whitelist Full Addresses. I've got 3 full addresses in my whitelist, and those are all special cases where I either ONLY wanted to allow example.net itself but not *any* subdomains of example.net, *or* I want to allow only the HTTPS version (as you already pointed out).

But the main reason I don't bother is the extra menu clutter, and most of the time if I trust a site then I trust its subdomains too (or only with a few exceptions that can just go straight to Untrusted & then they'll stay Forbidden).

Can you please clarify this statement, which I don't understand what you mean?
nwusr wrote:provide more protection from sites pulling files off my computer (e.g., ftp://)
So you have a FTP server on your computer, or you're afraid that when connected to a FTP server that it can pull files off your computer too?
Well, I'm not as computer smart as you. But I read about Russian malware that was thru some advertisement and it was pulling files off people's computers. I was worried that if I whitelist sub.domain.net and not http://sub.domain.net I'm opening myself up to some malware manipulation that can pull a file off my computer. Like sometimes I've seen ftp:// in the address bar, for example. Maybe the full address would not protect against this, this was the nature of my question.
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Full address vs full domain advice

Post by Thrawn »

I doubt that that is related to allowing full addresses vs subdomains. For starters, NoScript is all about blocking active content on web pages - and as far as I know, there's no such thing as a page including a script via the FTP protocol.

NoScript isn't a general-purpose firewall or application access control system. It just restricts web pages.

The good news is, tainted advertising will typically be blocked by NoScript, simply because it's being served from a domain that you haven't chosen to trust. Unless you use unsafe features like 'Scripts Globally Allowed', or 'Allow all this page', or 'Cascade permissions to third-party scripts', you should be quite safe.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
barbaz
Senior Member
Posts: 11091
Joined: Sat Aug 03, 2013 5:45 pm

Re: Full address vs full domain advice

Post by barbaz »

nwusr wrote:I read about Russian malware that was thru some advertisement and it was pulling files off people's computers.
That was via an exploit targeting Firefox through its builtin PDF Viewer, nothing to do with ftp or granularity of what you Allow in NS or anything else.

So to answer your question, whether or not you Allow based on Full Addresses would have no effect against something like it.
Thrawn wrote:as far as I know, there's no such thing as a page including a script via the FTP protocol.
I don't see why, in theory, that's impossible... but NoScript inclusionTypeChecking would probably catch it right?

In any case, still irrelevant to the OP's question.
*Always* check the changelogs BEFORE updating that important software!
-
tarjk
Junior Member
Posts: 40
Joined: Tue Apr 01, 2014 12:28 pm

Re: Full address vs full domain advice

Post by tarjk »

@Thrawn & barbaz:

when I first heard of that Russian exploit, I immediately thought of NoScript's built-in ABE protection (i.e., SYSTEM). Do you guys know enough about the exploit to know if the ABE setting would have provided protection?

Code: Select all

Site LOCAL
Accept from LOCAL
Deny
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Full address vs full domain advice

Post by Thrawn »

I don't know a lot, but I would be very surprised if ABE would have helped.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
barbaz
Senior Member
Posts: 11091
Joined: Sat Aug 03, 2013 5:45 pm

Re: Full address vs full domain advice

Post by barbaz »

I don't really know anything about the exploit but I doubt that ABE would have helped unless you had already had a rule blocking the specific domains used to serve the exploit (it was said that ABP mitigated it, so surely ABE could do the same with the right configuration).

So I second Thrawn's suggestion that the rule you posted would likely have no effect there.

(see also viewtopic.php?f=19&t=21134 )
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply