Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IObjectSafety interface

Provides methods to get and set safety options.

Members

The IObjectSafety interface inherits from the IUnknown interface but does not have additional members.

Remarks

The IObjectSafety interface should be implemented by objects that have interfaces which support "untrusted" clients, such as scripts. It allows the owner of the object to specify which interfaces must be protected from "untrusted" use.

Examples of interfaces that might be protected in this way are: IID_IDispatch (safe for automating with untrusted automation client or script), IID_IPersist (safe for initializing with untrusted data), and IID_IActiveScript (safe for running untrusted scripts).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Objsafe.h

IDL

Objsafe.idl

 

 

Show:
© 2015 Microsoft