Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding ASP code

Status
Not open for further replies.

Faheemi

Programmer
Sep 2, 2001
59
HK
Hi there,

I want to make all my asp files (also may be htmls) to one or more dll files. How can I do this?. Can I host the converted dlls in IIS web server? The reason is to hide all my asp codes from the webhost or any body else.

Is there any other way?.

Thanks

Hameed


 
First of all why you want to hide ASP code from the webhost?
Either way they have the right to see your code, cuz you are using theyr server. How they knw that your code is 100% secure?
well at least this is how i see things working around here.

________
George, M
 
The main reason is to hide the ASP code is because in my client's office some IT guy wants to look at our code and make changes or he could just use the whole code to develop a solution to some one else without our consent.

The second reason is to hide it from the webhost. But that's not critical for me now.

That's why we wanted to give them website developed in ASP as an exe or dll. I have never tried this before.

There is an encoder software for ASP code that I have tried that and worked fine. But that encoded version can be very simply decoded using another decoding software. It is not worth it.

Please let me know the exe or dll is workable??

 
couldn't you just ask your web hoster to put permissions on the folder you want to hide the code in? this way you could use is on the net as normal, but you wouldn't be able to open it to edit unless you have the password... just my two cents OO
 
The reason for my idea to hide the source is because my client is asking for the whole website code. The reason he says is because he wants to do the hosting himself. So I am afraid he may mis-use the code by using it for someone else. That's why I wanted to compile it something that could not be decompiled easily.
 
It's one of the limitations of interpreted code, the only direct option would be to use encryption software. I've never seen or used any and it wouldn't be foolproof.

It would be possible to achieve the same effects of your ASP applications with DLLs, but it won't be straightforward.

In the past, I've used VB DLLs to do complex things that couldn't be achieved within ASP (such as API calls). These have been used in conjunction with the ASPs, and called from them, but not replaced them.

Assuming you want to use VB for your DLLs, there will be some overlap in the code to achieve what you want, but most of the stuff will be different (ranging from slightly to considerable). How's your VB?

If you decide to undertake it, I think there are three options available to you:

1. Write the entire app as an IIS application in VB, with web classes etc. I've never done this, so I'm no authority, but my general understanding is that they're not a particularly good option.

2. Use ASP, but write the main functions within a DLL and call them from your ASPs.

3. ASP.Net
 
Thanks sweevo for your answers.

It seems that there are no special converters for ASP to a special version
like dll so that the code could not be exposed.
I need to look about any encryption software that could work for this.
My VB is not so good. I am actually learning it now.
I need to look into the ASP.NET . I have no experience in any .NET products yet.
What is ASP.NET ? Can this protect the source code??

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top