Wrox Programmer Forums
|
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
 
Old June 6th, 2003, 02:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old June 6th, 2003, 02:45 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old June 7th, 2003, 01:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old June 7th, 2003, 02:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old June 8th, 2003, 02:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old June 9th, 2003, 06:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running executable file Promod333 Visual Basic 2005 Basics 1 September 7th, 2007 10:15 AM
Calling an executable file from ASP.NET kwilliams ASP.NET 2.0 Basics 0 June 8th, 2006 11:43 AM
How to make a java project executable. sharadagarwal BOOK: Beginning Java 2 2 June 27th, 2004 01:21 PM
php executable file hosefo81 PHP How-To 4 March 23rd, 2004 10:07 PM
dll.files in a executable file KennethMungwira VB.NET 1 December 12th, 2003 05:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.