Page 1 of 1
[RESOLVED] Why doesn't this ABE rule block Java?
Posted: Sun Mar 20, 2011 1:44 pm
by tlu
In Options -> Embeddings I forbid any objects via Noscript. In order to tighten security I've added the following rule suggested by Giorgio to ABE -> USER:
Code: Select all
Site *
Deny INCLUSION(OBJ, SUBDOC)
I went to
http://tools.boerse-go.de/index-tool/ which I've whitelisted in Noscript but for which I did NOT create an exception rule in ABE. But the Java applet on that site is still loaded! How is that possible?
Re: Why doesn't this ABE rule block Java?
Posted: Sun Mar 20, 2011 2:34 pm
by tlu
Another example: If I go to
http://blog.mozilla.com/blog/2011/03/ there is this message in the Error Console:
.. but I can view the video on that site although no exception rule for mozilla.com exists in ABE. I might have a basic misunderstanding how ABE works ...
Re: Why doesn't this ABE rule block Java?
Posted: Sun Mar 20, 2011 9:58 pm
by Giorgio Maone
The video on
http://blog.mozilla.com/blog/2011/03/ has a non-Flash fallback, through the HTML 5 <video> element which is currently not covered by the inclusion subtypes dictionary.
In fact, if you use just "INCLUSION" (with no further specification) it does get blocked as expected.
Both <video> and <audio> HTML 5 media elements will be matched by OBJ in next version.
Regarding the Java applet, it seems a genuine regression, probably due to recent changes in the Java plugin or its inter-process wrapper: HTTP observers (like ABE) don't get called for Java requests. Fortunately, as you noticed, content policies (like NoScript) do get called so this doesn't affect NoScript's ability to block Java, but ABE's INCLUSION doesn't affect Java requests because they're not seen at all. I'm trying to implement a work-around to be included in next version, thank you for reporting this.
Re: Why doesn't this ABE rule block Java?
Posted: Sun Mar 20, 2011 11:56 pm
by Giorgio Maone
Re: [RESOLVED] Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 9:34 am
by tlu
The latest build works indeed as expected. Thanks a lot, Giorgio!
Re: Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 10:41 am
by dhouwn
Giorgio Maone wrote:Both <video> and <audio> HTML 5 media elements will be matched by OBJ in next version.
Hm… Is this really the expected behaviour? Since these are not "plugin objects" (term used in the ABE specification) but are only like what plugins are generally used for, ie. plugin object lookalikes/alternatives/….
But plugins might be also used for displaying images, so using this same argumentation you might also match native IMG elements with this rule which I believe is not what users would generally want (at most maybe as a separate type matcher).
So either change this or update the specification reflecting that OBJ does not just stand for "plugin objects".
Re: [RESOLVED] Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 11:17 am
by Giorgio Maone
Mmm, I'm probably going to add MEDIA and FONT subtypes, rather than coalescing them with OBJ and OTHER respectively.
Re: [RESOLVED] Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 3:56 pm
by tlu
Giorgio, another thought. One big disadvantage of blocking objects by the mentioned ABE rule is that the usual placeholders are not visible. Is this generally impossible in ABE or isn't it just not implemented? If the latter is the issue, implementing this would be highly appreciated as it would make life a lot easier

Re: [RESOLVED] Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 4:22 pm
by Giorgio Maone
tlu wrote:Is this generally impossible in ABE or isn't it just not implemented? If the latter is the issue, implementing this would be highly appreciated as it would make life a lot easier

ABE is designed and implemented to be as decoupled as possible from NoScript and the DOM. Triggering placeholders from it would be quite complicated and would violate this decoupling.
Re: [RESOLVED] Why doesn't this ABE rule block Java?
Posted: Mon Mar 21, 2011 5:05 pm
by tlu
Giorgio Maone wrote:tlu wrote:Is this generally impossible in ABE or isn't it just not implemented? If the latter is the issue, implementing this would be highly appreciated as it would make life a lot easier

ABE is designed and implemented to be as decoupled as possible from NoScript and the DOM. Triggering placeholders from it would be quite complicated and would violate this decoupling.
Okay, undestood. So we're patiently waiting for E10
