Request - conditional whitelist based on current domain

Bug reports and enhancement requests
Post Reply
booyabazooka
Posts: 2
Joined: Tue May 12, 2009 11:50 pm

Request - conditional whitelist based on current domain

Post by booyabazooka »

The best way to explain this is with an example...
  • I don't want to universally whitelist akamai.net.
  • Wachovia's website requires scripting from akamai.net (shame on you, you're a bank!).
  • When I'm at *.wachovia.com, I'd like to automatically temporarily allow akamai.net.
Is this feasible? :)
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.10 (intrepid) Firefox/3.0.14
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Request - conditional whitelist based on current domain

Post by GµårÐïåñ »

You can achieve this with a ABE ruleset. You allow permanently akamai.net, then in ABE you open the USER rulesets and you insert the following:

Site *.akamai.net
Accept from *.wachovia.com wachovia.com
Deny

then wachovia will be the only one to access akamai and every other site will be blocked access. Then if you ever want to add another site, just on the second line add them with a space in between, that's it.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Request - conditional whitelist based on current domain

Post by therube »

I tried:

Code: Select all

Site *.neweggimages.com
Accept from *.newegg.com newegg.com
Deny
Yet when I load http://www.newegg.com/Product/Product.a ... 6822148411, neweggimages.com is not Allowed.
Should it be Allowed or am i misinterpreting what should be happening?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Request - conditional whitelist based on current domain

Post by Giorgio Maone »

ABE acts on requests, not on script permissions/blocking.
Therefore, if you want to delegate to ABE the control over a 3rd party script or resource, in order for it to load you don't just need to "Accept" it in ABE, but you also need to "Allow" it from NoScript's "traditional" whitelist controls.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Request - conditional whitelist based on current domain

Post by GµårÐïåñ »

Yes, as I stated right at the beginning of my last post.
GµårÐïåñ wrote:You can achieve this with a ABE ruleset. You allow permanently akamai.net, then in ABE you open the USER rulesets and you insert the following: ...
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Post Reply