Answered by:
pages & code are editable

Question
-
User810354248 posted
when i create websetup.exe for my asp.net webapplication it waorks fine when the exe is installed the web gets browsed as i desire
but when i check the ww root folder where it is installed the complete source code is there . i am not willing to make a exe which is editable by the users
Saturday, February 15, 2014 12:09 AM
Answers
-
User-1941247845 posted
Baiju,
The all you can do is to Publish the website first and include that folder part of your Setup project instead of the Project content files. This way only the Pre-Compiled files will be available at the web root folder.
Depends on which version you use to develop follow the below links:-
http://msdn.microsoft.com/en-us/library/ms227401.aspx
http://forums.asp.net/t/1533230.aspx?Creating+a+Web+Setup+Project
http://msdn.microsoft.com/en-us/library/dd483479(v=vs.100).ASPX
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 18, 2014 2:17 AM
All replies
-
User-166373564 posted
HI Baiju
i am not willing to make a exe which is editable by the usersThanks for your feedback.
For this issue, I think you could modify the folder permission in IIS, grant read permission to Users.
Right Click inetpub folder-> inetpub property -> permission for inetpub, and Read permission checked, Read and Execution unchecked.
hope it helps.
Regards
Sunday, February 16, 2014 10:34 PM -
User810354248 posted
sorry , there is some confusion what i had asked for
i am having a asp.net+vb code web with access database all are working fine even after my installing the exe. my problem is when i had installed the exe the entire code get copied (source code) to the default web root folder. which can be (source code) copied and edited my someone. i want a precompiled type one to be there in root folder so that others cannot copy the (source code) and remake it
Monday, February 17, 2014 8:47 AM -
User-1941247845 posted
Baiju,
The all you can do is to Publish the website first and include that folder part of your Setup project instead of the Project content files. This way only the Pre-Compiled files will be available at the web root folder.
Depends on which version you use to develop follow the below links:-
http://msdn.microsoft.com/en-us/library/ms227401.aspx
http://forums.asp.net/t/1533230.aspx?Creating+a+Web+Setup+Project
http://msdn.microsoft.com/en-us/library/dd483479(v=vs.100).ASPX
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 18, 2014 2:17 AM