[RESOLVED]:personal ruleset and subscription

Discussions about the Application Boundaries Enforcer (ABE) module
User avatar
江3如此多娇
Junior Member
Posts: 35
Joined: Mon Mar 25, 2013 2:38 am

[RESOLVED]:personal ruleset and subscription

Post by 江3如此多娇 »

user_pref("noscript.ABE.rulesets.USER2", "Site *\nDeny INC(SCRIPT) from ^http://(www\\.)??([0-9]{2,}[a-z]+|[a-z]+[0-9]{2,}[a-z]*)\\.com");

I tried to create a personal ABE ruleset,and It seems work, So I guess we can create rulesets apart from the built-in SYSTEM and USER, am I right :?:
If so, does the order of different rulesets works as: USER1, USER2,3,4,

another old question(i think), can we use rulesets online,in other words, can I use the SUBSCRIPTION ruleset?
Last edited by 江3如此多娇 on Sun Oct 06, 2013 6:22 am, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.14 Safari/537.36
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: HELP:personal ruleset and subscription

Post by Thrawn »

江3如此多娇 wrote: I tried to create a personal ABE ruleset,and It seems work, So I guess we can create rulesets apart from the built-in SYSTEM and USER, am I right :?:
Yes, you can, but do you really need to do this? You might be better off just adding to the USER ruleset.

The situations where you would need an extra ruleset are pretty limited and specialised. For example, I'm making use of one for my Firefox extension (under development), so that it can generate extra ABE rules without touching your existing rulesets, and it can easily delete them when uninstalled. But just for writing your own rules, you don't need this. You're better off using the built-in editor, which provides syntax checking.
If so, does the order of different rulesets works as: USER1, USER2,3,4,
The order of rulesets doesn't matter. They are all applied to every request, and any filters stack. So, if one ruleset allows a request, but another denies it, it is blocked. If one ruleset anonymizes a request, and another one sandboxes it, it will be both anonymized and sandboxed.
another old question(i think), can we use rulesets online,in other words, can I use the SUBSCRIPTION ruleset?
Currently, no.

But sites that you visit can advertise extra rules to protect themselves, by providing a rules.abe file.
======
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 i686; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
江3如此多娇
Junior Member
Posts: 35
Joined: Mon Mar 25, 2013 2:38 am

Re: HELP:personal ruleset and subscription

Post by 江3如此多娇 »

Thrawn wrote:The situations where you would need an extra ruleset are pretty limited and specialised. For example, I'm making use of one for my Firefox extension (under development), so that it can generate extra ABE rules without touching your existing rulesets, and it can easily delete them when uninstalled. But just for writing your own rules, you don't need this. You're better off using the built-in editor, which provides syntax checking.
:D got it, as you mentioned, we can delete personal ruleset, and also we can forbid them using the button "forbid" whenever we want to.
I think the best way to use personal ruleset is to create a preference noscript.ABE.rulesets.name without a value, and write and chack rules in the UI as you adviced.

Thank you Thrawn :D
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.14 Safari/537.36
Post Reply