Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
in a web deployment where to locate the code behind files for keep secured, i dont know where to locate them, im already locate them in with my aspx files in order to the application works, but i dont know if is the best practice

What I have tried:

Im not sure in where to locate code behind files for keep them safe in iss
is any example on how to do that or the best practices
what is the experience dear experts!
Posted
Updated 1-Sep-17 8:22am

1 solution

Yes, that's where they should go. Moving the files will break your app.

IIS is configured to not return those files to the client so there's no way for the client to get at them.

You have a much greater security risk in the code you've written than from the server sending those files to the client.
 
Share this answer
 
Comments
hayjor2 1-Sep-17 14:25pm    
so, no need to conver them into DLL or do nothing? i read about convert them but i realy dont get it how, so your answer give me more conficence!
Dave Kreskowiak 1-Sep-17 14:27pm    
The code is compiled into native images upon first serve to the clients.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900