Hello!
At my company, we are in the process of deciding which programming
language to take between JSP and ASP.NET to produce dynamic web sites
for our clients. By now, all the major advantages tend to favor
ASP.NET : performance, good fit with SQL Server/Microsoft systems,
habilities of the development staff with VB.NET, ...
But there is still one point that gives me a break: I read some books
on ASP.NET in order to find something but I still have no clue. With
Java, I can write some classes(beans, servlets) and put the result in a
JSP page. All these classes will be compiled in a .class file (not a
..java file with the source), deployed on the client web server, and the
client will not be able to modify the core behaviour because they don't
have the source file (.java) and the only source files they have (.jsp)
are just HTML display.
Is there a standard in ASP.NET to write the code in a more
"object-oriented" way that won't let the client (on which the server is
installed) read and modify source code (at a certain layer because I
know you can't hide everything...)?
Thanks,
Melanie 4 4436
"melanie_23 " <me************ ***@hotmail.com > wrote in message
news:11******** *************@f 6g2000cwb.googl egroups.com... Is there a standard in ASP.NET to write the code in a more "object-oriented" way that won't let the client (on which the server is installed) read and modify source code (at a certain layer because I know you can't hide everything...)? http://www.c-sharpcorner.com/Code/20...ompilation.asp
In ASP.NET 2.0 you can precompile everything and deploy little more than DLL
files if that's your desire. If you're still paranoid about people
decompiling your DLLs then you can obfuscate them to make such a task very
difficult.
You can use the obfuscator that's built into ASP.NET 1.x and above, or you
could use one of these 3rd party obfuscators which generally claim to be
better: http://www.lesser-software.com/ilobf.htm http://www.junglecreatures.com/DesktopDefault.aspx http://www.9rays.net/cgi-bin/compone...i?act=1&cid=86 http://www.remotesoft.com/salamander/obfuscator.html http://www.semdesigns.com/products/o...bfuscator.html http://www.wiseowl.com/products/products.aspx http://www.abderaware.com/WhitePapers/Obfuscator.htm
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"melanie_23 " <me************ ***@hotmail.com > wrote in message
news:11******** *************@f 6g2000cwb.googl egroups.com... Hello!
At my company, we are in the process of deciding which programming language to take between JSP and ASP.NET to produce dynamic web sites for our clients. By now, all the major advantages tend to favor ASP.NET : performance, good fit with SQL Server/Microsoft systems, habilities of the development staff with VB.NET, ...
But there is still one point that gives me a break: I read some books on ASP.NET in order to find something but I still have no clue. With Java, I can write some classes(beans, servlets) and put the result in a JSP page. All these classes will be compiled in a .class file (not a .java file with the source), deployed on the client web server, and the client will not be able to modify the core behaviour because they don't have the source file (.java) and the only source files they have (.jsp) are just HTML display.
Is there a standard in ASP.NET to write the code in a more "object-oriented" way that won't let the client (on which the server is installed) read and modify source code (at a certain layer because I know you can't hide everything...)?
Thanks,
Melanie
Hi,
melanie_23 wrote: Hello!
At my company, we are in the process of deciding which programming language to take between JSP and ASP.NET to produce dynamic web sites for our clients. By now, all the major advantages tend to favor ASP.NET : performance, good fit with SQL Server/Microsoft systems, habilities of the development staff with VB.NET, ...
But there is still one point that gives me a break: I read some books on ASP.NET in order to find something but I still have no clue. With Java, I can write some classes(beans, servlets) and put the result in a JSP page. All these classes will be compiled in a .class file (not a .java file with the source), deployed on the client web server, and the client will not be able to modify the core behaviour because they don't have the source file (.java) and the only source files they have (.jsp) are just HTML display.
Is there a standard in ASP.NET to write the code in a more "object-oriented" way that won't let the client (on which the server is installed) read and modify source code (at a certain layer because I know you can't hide everything...)?
Thanks,
Melanie
In addition to Steve's answer, I want to add that it is also extremely
easy to decompile Java class files.
The option of publishing the CS source files always sounded like a
strange idea to me, except in special cases (when you want to publish an
open source software, or when you're debugging maybe), so I would rather
precompile before publishing.
You might also want to check the Web Application Project http://webproject.scottgu.com/
This allows you to have the same proven structure as in VS2003
(ASP.NET1.1). I personally prefer this way of doing things.
HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Thank you all for your answers
In fact, I think that the compilation method explained in the link Mark
provided is just what I want to do.
It's interesting to know that you can obfuscate your code. I did not
know that. Thanks Steve.
Laurent, I will take a look at the link you provided because I really
wish to initiate a good development practice at the very beginning of
our development.
Thank you all
Melanie This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Frank Millman |
last post by:
Hi all
I am writing a multi-user accounting/business system. Data is stored in
a database (PostgreSQL on Linux, SQL Server on Windows). I have written
a Python program to run on the client, which uses wxPython as a gui,
and connects to the database via TCP/IP.
The client program contains all the authentication and business logic.
It has dawned on me that anyone can bypass this by modifying the
program. As it is written in Python, with...
|
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.
|
by: John |
last post by:
Hello,
How can i protect the source of my database. I have made a application and i
want to distribute it but nobody must change the source. Pleause help me.
Thank you.
John
|
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
|
by: Ganesh Muthuvelu |
last post by:
Hi,
I have a ASP .NET application that we give to our clients
for them to deploy it in their web server and use it. My
concern is that all of my ASPX pages source code is open
and our clients can open the ASPX file and see the code in
it.
I want to protect my code something like a Windows
application where we give only the .EXE and the dll's. Is
there a way to do the same for ASP .NET applications
| |
by: yservel |
last post by:
Hi everybody.
I was just wondering how did editors were protecting their source code from decompilers and reverse engeneering.
I heard one method of source code protection was by obfuscation:
http://en.wikipedia.org/wiki/Obfuscated_code
Does every editor use Obfuscation? How does large software editor like Microsoft protect their source code? Do they manage to protect their source code?
|
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.
|
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...
|
by: =?Utf-8?B?TWlrZQ==?= |
last post by:
Hi. I have an ASP.NET 2.0 web application which contains an Images directory
with all website images. How can I prevent other websites from creating img
tags with the source as my images? I want to prevent other websites from
serving my image.
For example - How can I prevent another website from doing this?
<img src="http://mywebsitename/images/image1.jpg"
Is this possible? Thanks
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |