Encoding ASP files

P

Peter Conlan

Does anyone know of a good way to encode/encrypt ASP files so the code is
hidden, but still able to be read by IIS when requested? I have done some
searches and have found that using vbscript.encode would work, but that it
is very weak and tools are readily available to decode them. I have also
seen two products that claim to do this, but they either just used
vbscript.encode, or didn't work even on extremely simple asp files.

Does anyone else do something like this?

Thanks
 
A

Aaron Bertrand [SQL Server MVP]

Compile the code to a DLL. Or move your site to a server where you have
some trust in the security of the file system (or the people with legitimate
access to it).

http://www.aspfaq.com/2163
 
L

Larry Bud

Peter said:
Does anyone know of a good way to encode/encrypt ASP files so the code is
hidden, but still able to be read by IIS when requested? I have done some
searches and have found that using vbscript.encode would work, but that it
is very weak and tools are readily available to decode them. I have also
seen two products that claim to do this, but they either just used
vbscript.encode, or didn't work even on extremely simple asp files.

Does anyone else do something like this?

2 or 3 years ago I looked at ASP Lightning, and it did a pretty good
job. I imagine that by now they've worked out a few bugs.

This program compiled your ASP and created a DLL, then it changed your
ASP to call the DLL automatically.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top