 |
| ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

June 6th, 2003, 02:31 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
asp project executable file
Hi all,
Please inform how can create
excutable file of ASP ?
I have developed a web base application
project, I want the I convert the
necessary important files to executable file,
so that no one can copy (edit) on my
ASP Project.
Best Begard
|
|

June 6th, 2003, 02:45 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Mateen,
As far as know, this can't be done. You'll need an ASP runtime to process your ASP pages. This runtime is usually hosted inside Microsoft Internet Information Services (IIS). I know of no way to create an executable out of ASP pages.
One way to solve your problem is to use the Microsoft ASP Encryption program. This program encrypts the ASP parts of your source files so no-one can read them, except for the IIS runtime. The problem with this program is that it can easily be cracked / decoded.
What exactly are you trying to protect? Regular ASP pages are protected by default because the output is sent to the client and not the ASP code itself. If you are worried about a client stealing / enhancing your code, I have found that a good contract, including source ownership and intellectual property definitions usually do the job.
Alternatively, code in a incomprehensible way. That way, your code is "open source" but no one will understand what it does ;)
Cheers,
Imar
|
|

June 7th, 2003, 01:02 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your response.
Please send more information, how I can
Encrypt my some important coding.
How I can get Microsoft ASP Encryption program. ?
it is software or feature of visual studio ?
I want to encrypt few important asp file,
so that when then project could not run.
only I can decode the coding.
best regards.
Mateen Martin
[email protected]
Quote:
quote:Originally posted by Imar
Hi Mateen,
As far as know, this can't be done. You'll need an ASP runtime to process your ASP pages. This runtime is usually hosted inside Microsoft Internet Information Services (IIS). I know of no way to create an executable out of ASP pages.
One way to solve your problem is to use the Microsoft ASP Encryption program. This program encrypts the ASP parts of your source files so no-one can read them, except for the IIS runtime. The problem with this program is that it can easily be cracked / decoded.
What exactly are you trying to protect? Regular ASP pages are protected by default because the output is sent to the client and not the ASP code itself. If you are worried about a client stealing / enhancing your code, I have found that a good contract, including source ownership and intellectual property definitions usually do the job.
Alternatively, code in a incomprehensible way. That way, your code is "open source" but no one will understand what it does ;)
Cheers,
Imar
|
|
|

June 7th, 2003, 02:29 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Mateen,
You can find more info about the encoder from the Microsoft Scripting site at:
http://msdn.microsoft.com/library/de...169&frame=true
The encoder can be downloaded from this location:
http://www.microsoft.com/downloads/d...displaylang=en
Please be aware of the following disclaimer Microsoft added to the download page:
Quote:
|
quote:Note that this encoding only prevents casual viewing of your code; it will not prevent the determined hacker from seeing what you've done and how.
|
Cheers,
Imar
|
|

June 8th, 2003, 02:47 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Thanks for your information about the
encoder.
best regards.
Mateen Martin
[email protected]
Quote:
quote:Originally posted by Imar
Hi Mateen,
You can find more info about the encoder from the Microsoft Scripting site at:
http://msdn.microsoft.com/library/de...169&frame=true
The encoder can be downloaded from this location:
http://www.microsoft.com/downloads/d...displaylang=en
Please be aware of the following disclaimer Microsoft added to the download page:
Quote:
|
quote:Note that this encoding only prevents casual viewing of your code; it will not prevent the determined hacker from seeing what you've done and how.
|
Cheers,
Imar
|
|
|

June 9th, 2003, 06:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
As Imar has said, you should consider the encryption something that will slow people down, but not stop them. In fact it won't slow them down much at all. There are other methods of controlling this. One is to move code to dlls. Another is to protect yourself using license agreements.
regards
David Cameron
|
|
 |