Results 1 to 4 of 4

Thread: Encrypted folder on USB drive that works with Windows and Ubuntu

  1. #1
    Join Date
    May 2010
    Beans
    627
    Distro
    Ubuntu Development Release

    Encrypted folder on USB drive that works with Windows and Ubuntu

    My friend wants to have an encrypted folder on his 4GB USB attached flash drive, but sometime here in the near future I will help him dual boot Windows and Ubuntu. My question is this: Are there any encryption methods for folders (or we could make the folder a .zip archive and encrypt that) that are cross platform? The key would be stored on the flash drive, but it would need a password to access it. This way, if his flash drive gets lost, his private data is protected.

    I have one more question related to my friend's flash drive. He wants me to create a program (I was thinking a shell script) that would run when the flash drive gets plugged into a computer. This script will collect some data like user name of the user who plugged in the flash drive, the public and private ip address of the machine, the work group of the machine (Windows only), the hostname of the machine, and then send an email to my friend with that data. I have created the bash script, in case it gets plugged into a computer that run Linux, but now the issue is the Windows script/program and the auto running of the script/program. More specifically:

    1. How do you get the Windows script/program to run when the flash drive is plugged into a Windows computer? I have heard that unless you have enabled an auto run feature somewhere, a .ini file will be ignored.
    2. What program should I use to send the email from Windows? I would prefer something that either is portable (A.K.A. it does not leave settings on the computer on which it is run), or something that is installed by default on Windows systems XP through 7.
    3. How do I get the Linux script to run when it gets plugged into a Linux computer?
    4. Any ideas on how to create a Mac OS X startup script?
    5. I think I will be able to use most of the standard BASH commands on a Mac, but I still need to send the email. For Linux I will be downloading and compiling msmtp, but that leaves out Mac.


    Thanks in advanced for your help,

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,790

    Re: Encrypted folder on USB drive that works with Windows and Ubuntu


  3. #3
    Join Date
    May 2010
    Beans
    627
    Distro
    Ubuntu Development Release

    Re: Encrypted folder on USB drive that works with Windows and Ubuntu

    Another related question: Is it possible to export my linux key to a format that allows me to encrypt/decrypt files encrypted with the linux key on windows?


    --Cipherboy

  4. #4
    Join Date
    Jan 2007
    Location
    California
    Beans
    350
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Encrypted folder on USB drive that works with Windows and Ubuntu

    An alternative to LUKS is Truecrypt. It has a portable mode (I linked to the docs page) which looks like it meets your needs.
    Euler_fan
    Ubuntu User # 15369 at the Ubuntu Counter Project
    Woot for GPG

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •