Hi
In an installation that uses firefox, I need to embed videofiles that
are located on the local hard disk into webpages that are served by a
remote machine.
All video plugins I tested just dont display anything, probably
because of security restrictions (but there's no errormessage). I
could add a signed script to enable the required privileges for that
page, but exactly what privileges are needed ? Would this be enough :
// to call the interface
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
// to store general privs
netscape.security.PrivilegeManager.enablePrivilege('UniversalPreferencesRead
UniversalPreferencesWrite');
// to change the CAPS settings
netscape.security.PrivilegeManager.enablePrivilege('CapabilityPreferencesAccess');
prefs.setCharPref("capability.policy.policyname","localfilelinks");
prefs.setCharPref("capability.policy.localfilelinks.sites",mysite);
prefs.setCharPref("capability.policy.localfilelinks.checkloaduri.enabled","allAccess");
curious,
*-pike
_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security