rameshreddy74
01-13-2004, 11:40 PM
My code is running in Mozilla. I have two frames. From the first frame if I am trying to load a page from a different domain in the next frame. I was getting access denied. I solved this problem by editing the preferences.js
to add a line:
user_pref("signed.applets.codebase_principal_support",true);
in the html page I am adding the line:
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
I am able to access the page but I am getting an alert saying the browser has requested for enhanced previleges.
I want to supress it as it is creating trouble for the clients to see every time this alert when the he loads the page.
Is there a way to do it? Can I give the previledges automatically when the page gets loaded so that I need not see this alert every time?
What if client is having a intranet? He does not need the security features which is typically needed in an internet environment.
Can I disable the mozilla browser's security features in the browser itself so that this prompt will not come?
Please Help
to add a line:
user_pref("signed.applets.codebase_principal_support",true);
in the html page I am adding the line:
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
I am able to access the page but I am getting an alert saying the browser has requested for enhanced previleges.
I want to supress it as it is creating trouble for the clients to see every time this alert when the he loads the page.
Is there a way to do it? Can I give the previledges automatically when the page gets loaded so that I need not see this alert every time?
What if client is having a intranet? He does not need the security features which is typically needed in an internet environment.
Can I disable the mozilla browser's security features in the browser itself so that this prompt will not come?
Please Help