Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 8th, 2003, 01:22 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is it possible to sign a VBScript - Need help

Hi,

I wrote a WSH script to modify the proxy settings of the browser by changing the registry. All is fine if I invoke the file locally by opening it in IE.

But, if I take the script to a server and download the page on my IE, as I expected, the script failed to work.

I was wondering if there is anyway I can sign the script so that IE just executes without complaining ? There were few articles that explained how to sign a WSH script to be run by a WSH script engine. However, I'm not sure if you could sign a WSH script to be run by IE host ?

Apart from scripting, is there anyother way I can acheive this?

Any help would be highly appreciated.

-Thanks
Sudha


Reply With Quote
  #2 (permalink)  
Old September 5th, 2003, 05:10 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Although you easily sign scripts that are standalone I don't think this helps when they are run with IE as a host. The alternative is to put your site into "Trusted Sites" or "Local Intranet" security zone. You users will have to do this unless you can add it via a login script or similar, I don't know if this is possible in your case.
These two zones normally have lower security settings so your script should run. One more thing to be aware of is that you cannot use the"Wscript" object directly if the code is run in IE. This means things like "Wscript.sleep" etc. will need to be re-written.

--

Joe
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
How use plus sign ajabbabahalmigiriha C# 1 December 19th, 2006 01:04 AM
SIGN OUT PROBLEMS.. sarah lee ASP.NET 1.0 and 1.1 Basics 2 October 26th, 2006 10:27 AM
The little "plus" sign janise Access 8 January 6th, 2005 10:10 AM
How do you know which page to go to after sign up bekim Classic ASP Basics 8 August 22nd, 2004 07:53 PM
how % sign use in asp mateenmohd SQL Server 2000 2 July 28th, 2003 06:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.