Results 1 to 4 of 4

Thread: Encrypted HD + USB Stick

  1. #1
    Just burned his ISO
    Join Date
    Oct 2008
    Posts
    20

    Default Encrypted HD + USB Stick

    Hey Guys,

    I'm looking for something along these lines:

    A file-server with an encrypted hd that needs a USB stick to be inserted before the share can be accessed.

    E.g. to access the files I need to put the USB stick in the actual machine and then enter a password on my client machine.

    Am I dreaming or can someone offer any ideas?

    Thanks in advance

  2. #2
    Member
    Join Date
    Jan 2010
    Posts
    159

    Default

    Off the top of my head, you could script something that requires the usb key to be auto mounted, and have it run as a cron job, and check to see if:
    1) the USB key is mounted, and

    2) that a particular hash is present on the key after the drive has been inserted (to prevent any USB key from performing the same function)

    Once this is accomplished, you can have samba launch and mount the share. Samba can use passwords naturally.

    If you don't mind my asking though, why so complicated? What is the need for the USB key? You could do just as well with SSH to the target machine to decrypt the file system and launch the required daemons...

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    468

    Default

    What your looking for sounds like a Security-Token.

    Also the 2nd hit on Google is this:

    http://www.securityfocus.com/tools/3148

  4. #4
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default

    Dm-crypt luks has this ability. I had a computer doing this with Ubuntu 8.04 for a while.

    http://ubuntuforums.org/showthread.php?t=404346
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

Posting Permissions

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