Newbie - Protecting source code

F

Fronky

If I create an ASP.NET (c#) web application, how can I prevent my code being
ripped off when I load it onto a 3rd party web server? (Someone copying the
..cs files, and removing them)
Is there a way to compile these .cs files for the ASP.NET pages to read.
 
J

Juan T. Llibre

If you're using VS.NET, compile the project,
and only upload the dll's and .aspx files to your
server or, if you're not using VS.NET, compile
the assemblies ( dlls ) from the command line
and deploy them, with your .aspx files, to the server.




Juan T. Llibre
ASP.NET MVP
===========
 
F

Fronky

Sorted it! Thanks for your help!


Juan T. Llibre said:
If you're using VS.NET, compile the project,
and only upload the dll's and .aspx files to your
server or, if you're not using VS.NET, compile
the assemblies ( dlls ) from the command line
and deploy them, with your .aspx files, to the server.




Juan T. Llibre
ASP.NET MVP
===========
 
K

Kevin Spencer

Of course, if the security on the server is such that someone could view the
source code of your ASP.Net pages, you have a more serious problem.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Mark Rae

Of course, if the security on the server is such that someone could view
the source code of your ASP.Net pages, you have a more serious problem.

LOL! Absolutely!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top