cosie
asked on
Securing ASP source
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?
Thanx,
Cosie
Maybee ussing SSI and RealTime decode their contents, when IIS reads them?
Does anybody knows a method like this, or a different one?
Thanx,
Cosie
ASKER
Adjusted points from 400 to 900
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:
http://www.4guysfromrolla.com/webtech/040300-1.shtml
http://www.4guysfromrolla.com/webtech/040300-1.shtml
Yep ruperts right...
Make ASP components with VC++, VB or Delphi ...
http://www.tair.freeservers.com
look there for some examples.
Make ASP components with VC++, VB or Delphi ...
http://www.tair.freeservers.com
look there for some examples.
Or you can use the Microsoft Script Encoder, check here; http://msdn.microsoft.com/library/periodic/period99/scriptengine.htm
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!
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!
mqfranz....
script engine and MSIE5 isnt it??
How good is it then??
Gautam.
script engine and MSIE5 isnt it??
How good is it then??
Gautam.
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!
Mark
<%@ 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!
Mark
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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...
In fact, try asking server-admins to register COM objects... sometimes they freak out...
ASKER