/*****************************************************************************\ FILE: security.cpp DESCRIPTION: Helpers functions to check if an Automation interface or ActiveX Control is hosted or used by a safe caller. BryanSt 8/25/1999 Copyright (C) Microsoft Corp 1999-1999. All rights reserved. \*****************************************************************************/ #include "stock.h" #pragma hdrstop #include /***************************************************************\ DESCRIPTION: We are given a site via IObjectWithSite. Obtain the host from there. These are the different scenarios to test against: 1. HTA Content. 2. HTA contains IFRAME to non-LocalZone. That frame needs to be treated as unsafe because it hasn't been "sandboxed" 3. HTA contains IFRAME to non-LocalZone except the IFRAME tag has