Provides methods to get and set safety options.
IObjectSafety 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).
Interface Information
| Stock Implementation |
None |
|---|
| Custom Implementation | Yes |
|---|
| Inherits from | IUnknown |
|---|
| Header and IDL files | Objsafe.h, Objsafe.idl |
|---|
| Minimum availability | Internet Explorer
4.0 |
|---|
| Minimum operating systems |
Windows 95, Windows NT 4.0 |
|---|