INFO: COM EXE Servers Run in SYSTEM Context When Called from IIS (281837)
The information in this article applies to:
- Microsoft Windows NT Server 4.0 Terminal Server Edition SP4
- Microsoft Windows NT Server 4.0 Terminal Server Edition SP5
- Microsoft Windows NT Server 4.0 Terminal Server Edition SP6
- Microsoft Windows NT Server 4.0 Terminal Server Edition SP7
- Microsoft Internet Information Server 4.0
This article was previously published under Q281837 SUMMARY
A COM object that is hosted in a separate EXE that is marked to run as the launching user will run in the security context of SYSTEM when it is called from an Active Server Pages (ASP) page that is running in an in-process application in Internet Information Server (IIS). This is because the Inetinfo process runs in the SYSTEM context. COM objects that are running in a separate EXE that is marked to run as the launching user get started with the security context of the caller's process token, not the thread token. Therefore, for IIS in-process applications, this will be the SYSTEM context.
Additionally, script authors can use a script engine's "CreateObject" method directly to launch a COM object, bypassing ASP's built-in checks for COM objects that are hosted out-of-process.
Modification Type: | Major | Last Reviewed: | 11/25/2003 |
---|
Keywords: | kbinfo KB281837 |
---|
|