Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I developed one software in asp.net window application.

I created set up file for that software.

After installing the software the auto create files in the window OS folder should not be edited.

For this what should we use the code please advice or provide us the simple code
Posted
Comments
bbirajdar 8-Aug-13 6:21am    
Encrypt the file contents and decrypt it whenever your application reads it

1 solution

Programming Ethics 101: If your program is going to run on someone else's computer, remember that it's their property, not yours. That means they have the right to modify and/or delete anything they want to. Try to treat the system like your property, and they'll treat your program like malware.

http://stackoverflow.com/questions/1333807/how-can-i-make-a-file-trully-immutable-non-deletable-and-read-only[^]
 
Share this answer
 

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