Securing ASP source

Posted on 2000-04-08
Last Modified: 2006-11-17
I do not want the server admins to see (and rip) my ASP scripts. How can I encode them, or password protect.
Maybee ussing SSI and RealTime decode their contents, when IIS reads them?
Does anybody knows a method like this, or a different one?

Question by:cosie

Author Comment

ID: 2696084
Adjusted points from 100 to 400

Author Comment

ID: 2696110
Adjusted points from 400 to 900

Expert Comment

ID: 2696229
I guess the only way to do this is to make your scripts in to DLL files (using COM) and on the ASP pages you pass in the varables and the DLL returns a a huge string with all your HTML output.

More on this at:

Expert Comment

ID: 2696438
Yep ruperts right...
Make ASP components with VC++, VB or Delphi ...
look there for some examples.
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

LVL 18

Expert Comment

ID: 2696482
Or you can use the Microsoft Script Encoder, check here;

I use it for some of my more sensitive scripts and find it to be more than adequate.  Plus you don't need to register any components so your ISP is out of the loop, the only caveat is they must be running 5.0 script engine.  Try it!
LVL 13

Expert Comment

ID: 2696679
script engine and MSIE5 isnt it??
How good is it then??
LVL 18

Expert Comment

ID: 2697011
No, the script engine is for VBScript processing and is embeded in the asp.dll reference.  You don't need IE5 or IIS 5, I use IIS 4 and IE 4.7 with no problem, the engine is what you need to verify.  Run this against your server;

<%@ language=VBScript%>

'**Start Encode**
Function GetScriptEngineInfo()
 Dim s
 s = ""                        ' Build string with necessary info.
 s = ScriptEngine & " Version "
 s = s & ScriptEngineMajorVersion & "."
 s = s & ScriptEngineMinorVersion & "."
 s = s & ScriptEngineBuildVersion
 GetScriptEngineInfo = s      ' Return the results.
End Function

<%= GetScriptEngineInfo %>

It will tell you what version of VBScript engine your ISP is using, if he's not running > 5.0, demand it!


Accepted Solution

jkunal earned 900 total points
ID: 2699046
This is what you want..............

ASP2DLL converts and optimizes ASP web applications or plain HTML to Visual Basic 5.0, 6.0 source code for compilation of your web application into an ActiveX COM DLL file for maximum performance, safety and security.  
If you are serious about site performance, you will quickly see how ASP2DLL will save you time & money by making your existing ASP applications faster and more reliable :

You can download it from.........
LVL 18

Expert Comment

ID: 2701025
One problem with ASP2DLL is that most ISP do not allow third-components, just try asking then to install and register a .dll...

In fact, try asking server-admins to register COM objects... sometimes they freak out...

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now