473,790 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile or Protect ASP Code?

Hey, is it possible to protect ASP code in some way? Can it be compiled, or
otherwise protect the source somehow?

Thanks,

-Bill.
Sep 25 '05 #1
6 4451
On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" <Bi*****@yahoo. com> wrote:
Hey, is it possible to protect ASP code in some way? Can it be compiled, or
otherwise protect the source somehow?


Wrap it into a DLL, but if you're going to that effort you may as well
go to a .NET app. Otherwise, not really.

Jeff
Sep 25 '05 #2
"Jeff Cochran" wrote...
On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
Hey, is it possible to protect ASP code in some way? Can it be compiled, orotherwise protect the source somehow?


Wrap it into a DLL, but if you're going to that effort you may as well
go to a .NET app. Otherwise, not really.


Thanks for the reply, Jeff.

Are you saying that a .NET web app can be compiled or protected? How?

Bill.

Sep 26 '05 #3

"Bill" <Bi*****@yahoo. com> wrote in message
news:OY******** ******@TK2MSFTN GP12.phx.gbl...
"Jeff Cochran" wrote...
On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
>Hey, is it possible to protect ASP code in some way? Can it be compiled, or >otherwise protect the source somehow?


Wrap it into a DLL, but if you're going to that effort you may as well
go to a .NET app. Otherwise, not really.


Thanks for the reply, Jeff.

Are you saying that a .NET web app can be compiled or protected? How?


an aspx page, only exposes the HTML pages (aspx) and teh compiled code (not
simply readable by using notepad), is inside a subfolder inside a single DLL
(assembly).

If you want to 'protect' your stuff, you could use a licensing approach.
Remember, that if somebody really wants to decode your code, or hack it,
they -will- succeed. However, you are the author of intellectual property
and you are advancing features, the 'hacked version' won't be the blessed
version. In short, trust your customers a little more.

Sep 26 '05 #4
"Bill" <Bi*****@yahoo. com> wrote in message
news:OY******** ******@TK2MSFTN GP12.phx.gbl...
"Jeff Cochran" wrote...
On Sun, 25 Sep 2005 15:39:56 -0400, "Bill" wrote:
>Hey, is it possible to protect ASP code in some way? Can it be compiled, or >otherwise protect the source somehow?


Wrap it into a DLL, but if you're going to that effort you may as well
go to a .NET app. Otherwise, not really.


Thanks for the reply, Jeff.

Are you saying that a .NET web app can be compiled or protected? How?


Yes - use code behind pages for any .NET server code. When you compile the
app, all you need then are the aspx pages and the dll in the bin folder.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
Sep 26 '05 #5
"Tom Kaminski [MVP]" mvps (D.O.T) org> wrote...
"Bill" wrote in message {> > Are you saying that a .NET web app can be compiled or protected? How?
Yes - use code behind pages for any .NET server code. When you compile the app, all you need then are the aspx pages and the dll in the bin folder.

--
Tom Kaminski IIS MVP


Thanks, Tom!

-Bill.


Sep 26 '05 #6
This can help a little by removing comments and making all lines of code
start at the far left:
PCbit
http://www.pcbit.com
Advanced HTML Optimizer

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample

<<
Hey, is it possible to protect ASP code in some way? Can it be compiled,
or otherwise protect the source somehow?


*** Sent via Developersdex http://www.developersdex.com ***
Sep 29 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
384
by: YK | last post by:
All, What is the best way to protect IL code? --------------------------------------------------- Typical scenario: Visual Studio .NET 2003 includes Dotfuscator Community Edition, which intends to protect IL code. However, many .NET applications use data binding in UI forms. For example: Employee e = new Employee();
3
3332
by: Narlen | last post by:
Hi there, I don't know much about web design but I proudly managed to password protect a page on my site. Later I realized that everyone looking at the source in any web browser can see the password. Is there a way to improve this code so that instead of the password people viewing the page source would only see bullets instead of the characters of the password (or hide it alltogether?) Thank you for your help.
1
4563
by: Giganews | last post by:
I have an Access 97 database in which I am running an Excel macro through automation. The macro in Excel is as follows: Worksheets("Sheet1").Protect Password:="****", DrawingObjects:=True, Contents:=True, Scenarios:=True When I call this macro from the database all works fine except when I recorded the macro I deselected the "Select locked cells" option under the "Allow all users of this worksheet to:" section but yet when I access the...
15
5089
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised that i could retrieve my code from my applications after i compile it so i need to know to prevent this from happening to my applications Thanx in advance
1
1301
by: Shailesh Humbad | last post by:
Can ASP.net be used to compile ASP 3.0 pages? For example, if I have a page called myapp.asp written in VBScript for ASP 3.0, I want to use ASP.net to compile it into myapp.dll or something. Then, I can distribute the compiled myapp.dll instead of the ASP source code. Compiling is primarily to protect the source code, because the pages need to be installed on many servers. I feel like I'm thinking about this the wrong way, but .net is...
1
1370
by: TdJ | last post by:
Hi guys, I am trying to build a dialog box that does the same as an "alert" but with out the exclamation mark graphic (which is causing some users to think something has gone wrong !? I have included my code, the problem is obviously the fact the jscript 'key words' are in quotes, I have tried replacing them with single quotes " ' " and that lets me build but doesn't produce a popup.
19
3021
by: Peter | last post by:
I wrote a dll and now I want to protect from mass distribution. What is the most COST software for doing this, or can it easily be done in vb.net.
22
5830
by: teejayem | last post by:
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help would be much appreciated. Thanks in advanced.
4
569
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- With clientside Javascript you can't as your code is distributed in source form and is easily readable. With JScript, there is the Script Encoder (see MSDN), but this is nothing more than obfuscation. Disabling the right mouse button also does...
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7530
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.