Locking your system (why anything you do can be defeated)
OK, This is a rant. You may want to turn back now.
For those of you who want to (let me know if I've missed anything here):
1) Lock people out of your system
2) Lock people out of a hard drive
3) Lock people out of a folder
4) Lock people out of files
5) Make your excellent application the only one a person can use.
6) inflict your beautiful cursor on people who didn't ask for it.
7) Set your great web site as the home page for everyone who uses your app or visits your site.
8) Hide your app from everyone so it can watch them but they don't know.
9) Any other control freak thing you want to do.
IT WILL NOT WORK. Period! A computer is a physical object. So are the hard drives and everything else they are made up of. If there is a way to do it, then there is a way to undo it. Nothing you do can stop someone who wants to get at the computer badly enough.
If I want to delete a folder that Windows is protecting I can shell to DOS and delete it that way. Or I can boot from a floppy. Or I can do other things if those don't work, but they usually do.
Encryption is the most difficult security to defeat once someone is on your system.
So here's how you protect your computer:
1) Take control of it.
2) Put a bios password on it.
3) Don't put anything you care about on a public computer.
Other than that, don't be a control freak with your application. If you are deploying it to others, it is their computer and if they don't know how to use it then that's their problem. You do not have to babysit with your applications.
OK, I'm done now. Thanks. Have a great day. Write something wonderful.
Re: Locking your system (why anything you do can be defeated)
And if you really want full security, the best way to do it is...
1. Disconnect your computer from the world(internet), and
2. Don't let anybody use it.