trusting called sites based upon calling site

Bug reports and enhancement requests
Post Reply
wizodd
Posts: 2
Joined: Sun Dec 27, 2009 8:46 pm

trusting called sites based upon calling site

Post by wizodd »

Sometimes, there are sites which I would label as trusted when called from one site, but untrusted when called from another.

Currently there is no way to do this, so I end up temporarily o.k.ing them on each site I trust, but I can't mark them as generally untrusted because then NS won't tell me (unless I specificaly look,) that they exist and aren't being called (unless another called site is unknown.)

This an issue for anyone else?
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: trusting called sites based upon calling site

Post by Alan Baxter »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: trusting called sites based upon calling site

Post by Giorgio Maone »

Actually this can be easily done already, by using ABE:

Code: Select all

Site some.child-site.com
Allow from trusted.parent-site1.com trusted.parent-site2.com trusted.parent-site3.com
Deny
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: trusting called sites based upon calling site

Post by Alan Baxter »

If I recall correctly, you have to add some.child-site.com to the whitelist too.

Sorry, since I haven't customized ABE yet, I forgot this is an option. Can this be added to http://noscript.net/faq#faqsec8?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: trusting called sites based upon calling site

Post by Giorgio Maone »

Alan Baxter wrote:If I recall correctly, you have to add some.child-site.com to the whitelist too.
That's correct, of course, since the whitelist act on script/embedding blocking, while ABE acts on HTTP traffic. Therefore if the site is not whitelisted, the script won't run anyway.
Alan Baxter wrote:Sorry, since I haven't customized ABE yet, I forgot this is an option. Can this be added to http://noscript.net/faq#faqsec8?
Probably a good idea.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: trusting called sites based upon calling site

Post by Giorgio Maone »

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
Post Reply