When I use an MSScriptControl
in VB6, and set UseSafeSubset = True
, what kind of things can't I do? I mean, what Controls can't I use? Or maybe some core Objects can't be instantiated or used? Maybe I can't CRUD files? I need a definitive list, please.
This thread tells of a special flag in the registry that sets which controls are blocked when UseSafeSubset = True
, but it doesn't elaborate on it. It says it should be easy to search, but two days of Googling found nothing.
VBScript had all unsafe commands from VBA removed. So no file or registry access. Only CreateObject/GetObject can affect the system.
From Help (MsScript.hlp in C:\Windows\System32)
The Browser uses this (and IOleSafety). From MSDN Oct 2001
See URL Security Zones for what is restricted This is the High Template (aka Restricted Zone)