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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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:
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Expert Comment

ID: 2696438
Yep ruperts right...
Make ASP components with VC++, VB or Delphi ...
look there for some examples.
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Filktering Alphabetically 8 46
Time comparison asp 1 27
asp classic find word in string and get its value 7 48
MS SQL and column defined as time 7 36
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 informatio…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

732 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