From:  "vishesh" <visheshgupta@gmail.com>
Date:  06 Feb 2006 23:37:09 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.xpcom
Subject:  

Script getting denied universalxpconnect privileges

NNTP-Posting-Host:  203.199.132.36

I am developing one web based utility for mozilla using XP-COM. In my
component  I am trying to call functions from the .js file from my html
page. This .js file creates one XP-COM object of my component. This
XP-COM component is installed on clients machine.   When i am opening
this file from browser it's working fine but when i host this page in
server and trying to call my functions it gives me "A script from //url
 was denied  UniversalXPConnect privileges". I tried with

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

but this is not solving my problem.
Could you please suggest me some way to solve this problem..
Thanks in advance..