Download the free Windows Script Encoder utility from Microsoft's
Scripting Web site (http://msdn.microsoft.com/scripting) and you'll
be able to encode both server-side and client-side VBScript and
JavaScript. To encode a script file, pass the name of your HTML or
ASP file, along with a name for the new, encoded version of it, to
the command-line script encoder, like this:
screnc file1.asp file1_enc.asp
Two important points: First, Microsoft doesn't provide a tool for decoding
an encoded script file, so be aware that there isn't any straightforward
way to reverse engineer the encoded file. This makes it important to keep
the original, unencoded version! Second, this is encoding, not encryption,
and as such, it isn't going to keep out a determined hacker, but it should
be sufficient to stop more casual and simply curious Web programmers from
seeing (or stealing) your code.
Encoding your script files
By ElementK Journals, published on 14 Jul 2001
| Filed in
You might also like...
JavaScript forum discussion
-
USB Drive Activity Logger!
by coque0912 (7 replies)
-
MS Edge in Kiosk mode
by kiwi.automate (0 replies)
-
CorelDRAW VBA: cdrTraceLineDrawing FAILS, producing single linear path instead of Centerline trace?
by dancemanj (0 replies)
-
vb script to copy specific file to another computer via local area network
by talekeshav (0 replies)
-
deobfuscate malicious vbscript
by ru5ty (0 replies)
JavaScript podcasts
-
Hanselminutes: Startup Series: Buying an Existing Small Company or Online Application
Published 8 years ago, running time 0h34m
Scott talks to Rob Walling about how he purchases small niche products and companies online and revitalizes them. He recently purchased an existing product that consisted of a 300 gig database and tens of thousands of lines of Classic ASP. How did he know it was valuable? What's next?
Comments