Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IInternetSecurityManager" in [All]

Interfaces

.
Summary
IInternetSecurityManager enables client applications to influence the security of the browser components.
.

public interface IInternetSecurityManager

.

This sample uses IInternetSecurityManager within an ActiveX control to determine the Zone from which the web page hosting the control is loaded. If the Zone is not My Computer, a flag is thrown indicating the zone is not safe. This is useful for cases where you want to mark a control as safe for scripting, but you want to limit the zones in which it is allowed to run or to perform certain actions, something IE security does not allow. Note that you will need to add shdocvw.dll as a reference within your project, and that you should set "Register for COM Interop" to True in Project Properties | Configuration Properties | Build.

.

  public interface IInternetSecurityManager

.

    IInternetSecurityManager ISM = securityManager as IInternetSecurityManager;

.

   Public Interface IInternetSecurityManager

.
Documentation
[IInternetSecurityManager] on MSDN
.

If a control is marked safe for scripting, it's considered safe for scripting in all Internet security zones. See IInternetSecurityManager for more information.


 
Access PInvoke.net directly from VS: