Allow .ajax.googleapis.com on multiple sites
Posted: Fri Jun 21, 2013 12:05 am
Suppose I want to allow scripts from .ajax.googleapis.com on multiple sites (eg. site1.com and site2.com). The rules I came up with are
I thought about shrinking it to
but won't this also allow requests from site2.com when on site1.com and vice-versa ?
If so, it would be useful if ABE could be improved to allow a short-hand form like follows:
where the leading [ symbol before a site URI would mean eg. "on .site1.com accept from .site1.com and .ajax.googleapis.com" and "on .site2.com accept from .site2.com and .ajax.googleapis.com" BUT Deny site2.com on site1.com and Deny site1.com on site2.com.
A shorthand form like this would come in very useful for allowing scripts from popular sites like .ajax.googleapis.com on multiple sites, without allowing requests between the various sites themselves. It's tedious and clutters up the rule list, to have to write a completely new rule just to allow scripts from a sites like .ajax.googleapis.com.
Code: Select all
Site .site1.com
Accept from .site1.com .ajax.googleapis.com
Deny
Site .site2.com
Accept from .site2.com .ajax.googleapis.com
Deny
Code: Select all
Site .site1.com .site2.com
Accept from .site1.com .site2.com .ajax.googleapis.com
Deny
If so, it would be useful if ABE could be improved to allow a short-hand form like follows:
Code: Select all
Site [.site1.com [.site2.com
Accept from .ajax.googleapis.com
Deny
A shorthand form like this would come in very useful for allowing scripts from popular sites like .ajax.googleapis.com on multiple sites, without allowing requests between the various sites themselves. It's tedious and clutters up the rule list, to have to write a completely new rule just to allow scripts from a sites like .ajax.googleapis.com.