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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protect VBScript Code

Status
Not open for further replies.

greg0303

Technical User
May 5, 2006
94
CA
I was wondering if there is a way to protect code in VBScript. I have a script that connects to a database but want to hide/encrypt the username password if possible. Anyone know of any ways to do this?
 
This has been asked before...a search should turn up posts.

In general, microsoft has an app that can encode (not encrypt) your script into a .vbe. This can be reversed.

There are apps out there that will packages your script into an exe but many times need to copy it into a temp location which can be read at the time of execution.

The author of the following product states the script gets put into memory rather than a temporary location...never used it, but you may want to look into it.


--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
The Microsoft Script Encoder is probably the easiest option. It is reversible, but someone would have to have some IT skills and the motivation to try and crack it open to do it.
 
but someone would have to have some IT skills and the motivation to try and crack it open to do it.

Or they would need to know how to use Google [google]Script Decoder[/google]

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Agreed. It is not difficult to decode what the script encoder does. It is however, a quick and easy if you are just nervous about clear text storage of data. The solution here will have to be determined by the requirements, thats for sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top