Linux Workshop: General Linux Propaganda and Security Tips

March 26, 2008

Linux Propaganda

Links for Further Reading

Books

Security Tips

As researchers, sometimes we have access to very sensitive data. There are some rules of thumb we can follow to protect others and ourselves.

  1. Don't keep sensitive data on laptops, especially if it's unencrypted. (ahem)
  2. Avoid sending sensitive data over e-mail; use Data Hippo or some other means instead.
  3. Encrypt sensitive data when possible to avoid accidental exposure at the very least.

Encryption

Encrypting your data will greatly decrease the probability that someone will wrongfully use it. There are pros and cons to encryption, however. Encryption can slow down data access a bit, as everything must be decrypted or encrypted. Also, if you forget your password, you can lose your data.

There are many ways to do encryption in Linux. One of the ways is to use a program called encfs. encfs works by transparently encrypting any files that are in an encrypted directory. There are some preparatory steps you need to take before first using encfs, however:

  1. Install the encfs and fuse-utils packages via Adept Manager.
  2. Add yourself to the fuse user group by running this command from your terminal: sudo adduser <your vunetid> fuse. Alternatively you can add yourself to the fuse group using KDE's user management tool (KMenu » System Settings » User Management). 1 You will need to logout and back in at this point for this change to take affect.
  3. Create a directory to house your encrypted files (i.e. ~/.encrypted).
  4. Create a directory that will serve as a mount point for the encrypted directory (i.e. ~/data).
  5. Run encfs ~/.encrypted ~/data to create and mount the encrypted folder.

After following these steps, you now have a folder that will transparently encrypt all files that you put in the ~/data directory.

Footnotes

  1. You must be in the fuse group in order to mount a filesystem without root privileges. Essentially this is how encfs works, by mounting an encrypted filesystem.
Topic attachments
ISorted ascending Attachment Action Size Date Who Comment
make_encfs.shsh make_encfs.sh manage 2.2 K 26 Mar 2008 - 12:04 JeremyStephens  
Edit | Attach | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r4 - 26 Mar 2008, JeremyStephens
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback