Last post Feb 18, 2014 02:17 AM by vikineese
Feb 15, 2014 12:09 AM|Baiju EP|LINK
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
Feb 16, 2014 10:34 PM|Angie xu - MSFT|LINK
i am not willing to make a exe which is editable by the users
Thanks 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.
Feb 17, 2014 08:47 AM|Baiju EP|LINK
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
Feb 18, 2014 02:17 AM|vikineese|LINK
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:-