Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to put password over the code, so project can run in visual studio 2010, but any body will not be able to see the source code,

Or

Something like that , code will be collapses and expand only after applying password.

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 14-Sep-12 21:06pm
v2
Comments
OriginalGriff 15-Sep-12 3:06am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
footballpardeep 15-Sep-12 3:09am    
????????
OriginalGriff 15-Sep-12 3:33am    
THIS IS SHOUTING
This isn't.

SHOUTING is rude on the internet.
I have removed it from your post, please do not do it again.

No.
You can obfuscate your code so that it is harder to read, but that is about it.
 
Share this answer
 
Comments
AmitGajjar 15-Sep-12 3:09am    
5+
Hi,

Although you have not specified you have web/windows application. but in case of Windows, you can obfuscate your class library so that no one can read easily.

In case of web application you can seprate your code in service. you can place some computation code in your server(but not preferable as it may slow down application response time and it will also create one dependency on your server).

So, there is no full proof security to secure your code. But you can add more and more complexity to make it hard.
 
Share this answer
 
Comments
footballpardeep 15-Sep-12 3:17am    
thanks, i want to know about window applications,how obfuscate class library so that no one can read easily ?. If code will be complex it will difficult for me to understand later.
AmitGajjar 15-Sep-12 3:44am    
There are so many tools available for obfuscation, Here is one of them : http://sharpobfuscator.codeplex.com/

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