473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

ASP.NET compiled?

Ed
I want to pay a monthly fee to a hosting company to host my ASP application.
I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a
way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.
Nov 18 '05 #1
5 1186
For ASP, you should ask that in an ASP group. But from what I know, the
answer is no.

ASP.NET introduces the codebehind model, where all server side code is
placed in a separate file and compiled into a DLL.

"Ed" <ed*********@hotmail.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.

Nov 18 '05 #2
ASP cannot be compiled. ASP.Net can be. And yes, you can compile an ASP.Net
app (not the Page templates, but the CodeBehind), so that it is "concealed"
in a DLL.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Ed" <ed*********@hotmail.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.

Nov 18 '05 #3
with asp.net version one, you have to upload the aspx page source, but in
general you can build all you code in a dll that called by the page. in
asp.net version 2 (currently in beta), you can compile the whole site.

note: in either case you can use a IL decompiler to recreate the source or
reflection to learn a lot about the source.

-- bruce (sqlwork.com)
"Ed" <ed*********@hotmail.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.

Nov 18 '05 #4
You could put your proprietary classic ASP designs into a COM component
which does get compiled to native code. Then you could just call the COM
object from classic ASP.

As for ASP.NET, if you put you logic into a .NET code behind file or a
separate .NET assembly it would get compiled to MSIL, but it can be
reverse-engineered. If you go this route you would want to put an
additional layer of obfuscation on top by using a tool like this:

http://www.gotdotnet.com/team/dotfuscator/

--
Hope this helps,
Bryant Hankins
Numinet Systems Inc.
http://www.numinet.com

"Ed" <ed*********@hotmail.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.

Nov 18 '05 #5
WL
Ed,

The only way to protect your ASP code is to have the code in a COM object
(the ASP page should then use the CreateObject method). Well in fact, you
then have no real ASP code of course, but just a call to compiled code.

In ASP.NET you can used code-behind (code is compiled in an assembly = kind
of DLL) but can be relatively easy decompiled with the IL disassembler
(distributed with the DotNet framework !)

Wim

"Ed" <ed*********@hotmail.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to
expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the
application to the hosting company, my propriety work will remain
unrevealed?

Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the
"compiled" version to the hosting company server (thereby protecting my
source code from being revealed)?

Thanks.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
Nov 18 '05 #6

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

Similar topics

22
by: Ajay | last post by:
hi! is there an authoritative source on the performance of scripting languages such as python vs. something like java, c, c++. its for a report, so it would be awesome if i could quote some...
5
by: LutherRevisited | last post by:
This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a...
3
by: codecraig | last post by:
Hi, I have a question about Python. I know that it is an interpreted language, meaning a python program is converted to binary on the fly each time it is run, or compiled. What would be the...
26
by: billiejoex | last post by:
Hi all. I'm sorry for a noob question like this but I'll try to ask it anyway. One of the greatest problem that may discourage a new user to choose Python language is it's interpreted nature....
7
by: news.microsoft.com | last post by:
Hi, Is the compilation of XSLT, using XPathNavigator.Compile, only beneficial when the returned XPathExpression is cached? Next question, how do I cache the returned XPathExpression object? ...
4
by: Richard | last post by:
I have a service which is used to call differenct versions of an application depending on the database version that is being used. The service has been compiled in framework 1.1 and it needs to...
12
by: Wardeaux | last post by:
All, Wanting to find a way to create web pages to add to my website without having to recompile the codebehind everytime I want to add a new one... Here's the deal: I have a web app that takes...
1
by: Arpan | last post by:
I am a newbie ASP.NET programmer. While going through the MSDN ASP.NET tutorial, I came across the following sentence: All ASP.NET code is compiled rather than interpreted which allows early...
2
by: CodeMonkey775 | last post by:
I'm having problems passing a variable to a method which is executed and compiled using CodeDom. The situation is I have a List<CellData> with cells, each containing a formula (like Excel). I am...
40
by: castironpi | last post by:
I'm curious about some of the details of the internals of the Python interpreter: I understand C from a hardware perspective. x= y+ 1; Move value from place y into a register Add 1 to the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.