> in the components folder. Then I open the _remote_ file
> (i.e. using the HTTP protocol instead of file: protocol now),
> let's say http://cycosys.com/tt/xpcom/nsHello.html , and
> I get an uncaught excpetion because the privilege is not
> granted.

As far as i know, you can't call xpconnect from `any' remote file
period.
Maybe you should post in the security news group. I really don't know
for sure.

--pete

 
> This is exactly the way the security manager worked in Netscape
> 4 - you can grant rights as long as you open a local file.
> 
> I assume that one has to grant rights only when the underlying
> XPCOM component is implemented in JavaScript. Is this right?
> 
> I doubt that anybody will use scriptable plug-ins if you have
> to sign every single JavaScript/HTML page that is calling a plug-in
> method via XPConnect. In the real world most HTML pages will
> be remote.
> 
> Regards, Tobias Trelle
> --
> CyCo Systems GmbH & Co. KG  >>>  http://www.cycosys.com/

Reply via email to