Groups | Blog | Home
all groups > asp.net security > july 2006 >

asp.net security : How to deploy ASP.Net applications


Saeid Bagheri
7/8/2006 12:00:00 AM
Dear friends
i have made a web application by using ASP.Net 2003.
We use it in our compnay.
Now i want to sale this application to another company also.
Currently all files including .vb,.rpt,.xsd,.resx,.aspx are in WWWRoot
folder in my server.
I am very worry about my application source because as i mentiond all files
are accessible in WWWroot Folder.
about desktop applications as you know we can make a setup package which
will be installed and source will be safe with us.

Regarding ASP.net application i dont know how to secure my source code.
Is there any way for this reason ? what is standard way to deploy we
applications.

Please help.
Regards

Scott M.
7/8/2006 10:22:54 AM
If you are using VS.NET, just hit the "Copy Project" button in the Solution
Explorer and choose "Only files needed to run application".

You should never deploy your .vb files to a production server.
The .resx files are used by VS.NET onlyl and don't contain any code to be
worried about.

All that's really needed on the server are the .aspx files, the compiled
..dll file in your bin folder (in a bin folder on the server as well) and
web.config is a good idea as well.



[quoted text, click to view]

Henning Krause
7/8/2006 4:42:32 PM
Hello,

as well

[quoted text, click to view]

As well as alls client side script files, images, flash files, cascading
stylesheets...

Best regards,
Henning Krause

[quoted text, click to view]
Scott M.
7/8/2006 6:04:56 PM
Yes (but I figured that went without saying).


[quoted text, click to view]

Scott M.
7/10/2006 2:23:14 PM
In VS.NET, just hit the "Copy Project" button in the Solution Explorer and
choose "Only files needed to run project".

If doing it manually, just copy the files we've indicated to your live
server by whatever means you have available (FTP, etc.).


[quoted text, click to view]

Saeid Bagheri
7/10/2006 6:11:14 PM
Thanks alot
Please let me know how we can upload copied project to live server.
I mean, mornings we work on project and in nights we want to upload last
changed project to our production server.
in this way always we should copy entire project files ?
please explain more.
thanks alot.


[quoted text, click to view]

AddThis Social Bookmark Button