Windows

  
[scriptable, uuid(0a3928d2-76c8-4c25-86a9-9c005ad832f4)]
interface nsIActiveXSecurityPolicy : nsISupports

Constants

 Host nothing at all. */
const unsigned long HOSTING_FLAGS_HOST_NOTHING = 0
 Allow hosting of safe for scripting objects. */
const unsigned long HOSTING_FLAGS_HOST_SAFE_OBJECTS = 1
 Allow any object to be hosted. */
const unsigned long HOSTING_FLAGS_HOST_ALL_OBJECTS = 2
 Allow objects to be downloaded and installed. */
const unsigned long HOSTING_FLAGS_DOWNLOAD_CONTROLS = 4
 Allow objects marked safe for scripting to be scripted. */
const unsigned long HOSTING_FLAGS_SCRIPT_SAFE_OBJECTS = 8
 Allow any object to be scripted. */
const unsigned long HOSTING_FLAGS_SCRIPT_ALL_OBJECTS = 16

Methods

 Return the ActiveX security and hosting flags.
 @param context The context for which flags are requested. At present the
                only valid value is nsnull.
unsigned long getHostingFlags(in string aContext)