Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to allow certain scripts from certain trusted domains to run

Status
Not open for further replies.

wchull

MIS
Jun 14, 2001
93
US
We have an application (Siebel v 8.0) that requires a work-around for a GUI interface problem. The problem with the work around is that it must be initiated from within IE and the code needed to fix the problem opens an instance of ActiveXObject. Here's a snippet of code:

var myShell = new ActiveXObject("WScript.Shell");
var strExe = this.BusComp().GetFieldValue("FullPath");
var strExeWinStyle = this.BusComp().GetFieldValue("WindowStyle");
ar strCommand = strQuote + strExe + strQuote + "{TAB}{TAB}{TAB}" + ", " + strExeWinStyle;
myShell.Run (strCommand);

The problem is that with Windows XP, SP2 ActiveXObject is not considered trusted and opens a prompt on screen asking for comfirmation that it is OK to execute the command and this is not acceptable to the user community. As a work-around to the prompting issue, the application vendor suggested that a modification to the Wscript.Shell CLSID be made to the registry that would make any shelled execution be "Trusted for Scripting" and "Trusted for Initialization". At this point, our IT Security department is concerned about the implications of doing this as it seems to open a vulnerability on our workstations.

So....... Does anyone know of another way to allow this code to run on the machine without the prompt but without having to change the context of Wscript.shell?

Any help would be appreciated.
 
Any help here?


The Wacky World of Windows Internet Security Settings

Open file - Security Warning appears when you run a file from network share

"When using Siebel 7.5 through the IVE, the user may see ActiveX warning pop-ups. To stop these pop-ups, the user must change their browser security settings. For IE, this can be done by going to Tools > Internet Settings > Security > Custom Level and enabling each of the ActiveX items listed there. (8247)"


Information About the Unsafe File List in Internet Explorer 6
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top