Rodrigue Butaye wrote:

Hi,

I'm new with XPCOM technology and XPConnect.
I want to get some info from an XPCOM component. The code works well
when I load the file from my filesystem but not when I browse the file
from the website.

I've got an error : enablePrivilege not granted (when the file is
loaded from the locale filesystem a prompt appears to ask for
privileges and not when coming from the website).

Have a look at:

http://devedge.netscape.com/viewsource/2002/bypassing-security-restrictions/

--
jst




Reply via email to