How to protect my code?

How do you protect code from being physically stolen?

  • I've recently purchased an IBM Thinkpad that came with a fingerprint scanner. That got me thinking: are fingerprint scanners a good way to protect your code i.e. if someone takes your laptop or goes on your laptop while you're away, would they still be able to get in? The question also applies for other biometrics techniques that the new Thinkpads have (iris scans, I believe). Are there other ways of physically protecting your code?

  • Answer:

    I think you need to read the docs that come with the Thinkpad. On mine at least, they said NOT to use the fingerprint reader as the sole security measure but to use it in conjunction with passwords. IBM (or Lenovo now) provide other security measures such as a BIOS password that's near impossible to get at once the machine has booted (the EEPROM holding the info is switched out of the address space) and hard disk passwords built into the actual hard disk so you can't just plug it into another machine. Depending on how paranoid you are, you can use all these features.

echoblaze at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

If you really want to protect it that badly, you might want to consider putting it on an encrypted filesystem using TrueCrypt or something like it. Unless the Thinkpad encrypts your drive using a key derived from your biometric information (which would be insane in my opinion) it would be very easy to circumvent by moving the hard drive to a different computer.

user19113

There is only encryption. Biometrics are simply an authentication mechanism and can't be used to protect code. If someone takes your computer and removes the hard drive, they can analyze it and take anything that isn't encrypted. You should try some of the various whole-disk encryption products that are available.

C. Lawrence Wenham

Fingerprint readers offer zero protection for stolen laptops. Why? Your fingerprints are all over the thing!

Jörg W Mittag

Don't trust the fingerprint scanner. Biometrics are notoriously bad for false positives. You probably want to use whole-disk encryption, or put all your code on a partition or usb key or something else that you can encrypt. PGPDisk is a good free tool, though there are others. Protect it with a strong password or better, a password protected key on a separate token like a smart card.

davenpcj

Well fingerprints can be simulated with http://www.theregister.co.uk/2002/05/16/gummi_bears_defeat_fingerprint_sensors/. I'd say good encryption and some decently strong keys will be the best bet to protect your data.

Dave Anderson

We've been banned from using the current generation of biometrics installed on our Lenova systems - it's been deemed too weak. There's plenty of reading material on the web about its weaknesses. Our domain enforces strong passwords (10> length, alpha upper/lower, numeric and symbol). Bitlocker secures the volume. When logging in over RAS we demand physical evidence in the form of a smartcard in addition to the regular username + password. For extra high security systems such as our internet facing servers we add key fob one-time generators too.

stephbu

Don't take it in a laptop in the first place? Seriously, if you're really paranoid, even with drive encryption, if I steal your laptop then it's game over if the source is on it. Even encrypted, it's just a matter of a brute force attack. I have the laptop, I have all the time in the world. Don't put the source on the laptop, use a VPN and keep it at work.

tloach

if someone takes your laptop or goes on your laptop while you're away... Always lock your computer when you're gone. And don't let any of your accounts (especially the admin one) have an empty password... As for physically stealing, we've had a few laptops stolen. First, every employee now needs to take it home with them. Second, the front door needs a badge to get in. If you really need to protect it, using Truecrypt will probably do the trick. Your data is then pretty damn safe. Also, having your code only on your laptop would be a terrible idea, it's what source control is invented for ;)

Carra

In GNU/Linux, you can also use http://www.arg0.net/encfs, which is a user-space encrypted file system that runs on top of FUSE. It is very easy to use, just type in a terminal: $ encfs ~/.encryptedstorage ~/path/to/seccure-code And after following the directions. You'll have a secure-code directory where you can safely store all the source code you want to protect. And you can combine it with http://fuse.sourceforge.net/sshfs.html to store files on a remote server, and then use the sshfs-backed file system as your encrypted storage. Using this method you can have all your source code files stored on a remote server, completely encrypted.

ramayac

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.