The IADOSecurity interface provides methods that are used by ADO to inform the provider of safe for scripting information.

Note Note

In order for a provider to be recognized by ADO as safe it must implement the IObjectWithSite interface in addition to the IADOSecurity interface.

IADOSecurity is an optional interface that providers can choose to implement on data source objects.


Sets a boolean value that indicates whether the provider is in a safe for scripting environment.


Sets the source URL of the current document.