topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 12:18 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: password-protect external HD (USB)?  (Read 46924 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
password-protect external HD (USB)?
« on: January 20, 2007, 06:48 AM »
Hi,

as some of you noticed in https://www.donation...index.php?topic=7068, I'm currently looking for an external HD. Is there a way to password-protect the content? Like that I would need to enter a password before Windows is able to really access the drive after I reconnect it?

It doesn't have to be CIA-proof (although that's never bad ;D), I'm just considering putting a backup HD in the hands (or drawer) of a friend or neighbor (in case my flat burns down to the ground) and don't want him to read all of my files.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,085
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #1 on: January 20, 2007, 07:06 AM »
If I'm not mistaken, that is why NTFS was created?  If you're using a NTFS formatted drive that should be all you need? 
« Last Edit: December 08, 2009, 06:21 PM by CodeTRUCKER »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #2 on: January 20, 2007, 07:12 AM »
If I'm not mistaken, that is why NTFS was created?  If you're using a NTFS formatted drive that should be all you need? 
Err... I have no idea! That's why I'm asking 8)

(I read that NTFS supports passwords, but have no idea how that works in real life... nor do I know how secure that is)

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,085
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #3 on: January 20, 2007, 07:24 AM »
What about a non-technical solution, like putting the external hdd in a small fireproof box.  They all come with keys which AFAIK must be locked to stay closed.  That way you wouldn't have to answer any, "what, you don't trust me" kind of questions.

Can you get a external that is already formatted NTFS?  AFAIK, NTFS would be secure.
« Last Edit: December 08, 2009, 06:26 PM by CodeTRUCKER »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #4 on: January 20, 2007, 07:27 AM »
Thanks, that makes sense!

The HD I'll get will be NTFS-formatted already, I just need a guide regarding how I'd enable password protection. With pictures if possible :D

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #5 on: January 20, 2007, 07:30 AM »
Farmsteader: that's true, ntfs does support encryptation, but it's not out-of-the box. You have to configure it (somehow, i don't know how to do it). I own an external disk, formated in NTFS and i've used it in 2 computers without it prompting me for any password.
Also, there are other solutions like truecrypt.

mattsmith321

  • Participant
  • Joined in 2007
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #6 on: January 20, 2007, 07:39 AM »
The HD I'll get will be NTFS-formatted already, I just need a guide regarding how I'd enable password protection. With pictures if possible :D

Good question. I'm actually almost in the same boat and was wondering the same thing the other day. I'd forgotten about being able to do it with NTFS. While I don't have specific details, you can get started by right-clicking on your drive letter in File Explorer. Select Properties. There should be a tab called Security. On that tab, you would make the necessary changes to the users listed to control who has access to it. Again, I'm not sure the exact configuration but this should get you pointed in the right direction.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,085
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #7 on: January 20, 2007, 07:42 AM »
Farmsteader: that's true, ntfs does support encryptation, but it's not out-of-the box. You have to configure it (somehow, i don't know how to do it). I own an external disk, formated in NTFS and i've used it in 2 computers without it prompting me for any password.
...

Thanks!  At least now I know I have had a good day... I learned something. :)
« Last Edit: December 08, 2009, 06:29 PM by CodeTRUCKER »

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,085
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #8 on: January 20, 2007, 07:45 AM »
This is a very good place to expose one's ignorance.  One is always corrected gently and without condescension.  Great stuff! :Thmbsup:
« Last Edit: December 08, 2009, 06:31 PM by CodeTRUCKER »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #9 on: January 20, 2007, 08:32 AM »
Farmsteader: that's true, ntfs does support encryptation, but it's not out-of-the box. You have to configure it (somehow, i don't know how to do it). I own an external disk, formated in NTFS and i've used it in 2 computers without it prompting me for any password.
Also, there are other solutions like TrueCrypt.
Wow, thanks, that looks good!

http://fileforum.bet...ueCrypt/1102840595/1:

4.6 out of 5.0
OS Support: Windows 2000/2003/XP
Reviews sound like "Simply the best. Easy to use, open source.. Highly recommended."

nevf blogged about it: http://blog.surfulat...securing-information

http://www.truecrypt...rg/docs/tutorial.php

I need to read that more carefully tomorrow, when I have more time. Any TrueCrypt users here?
« Last Edit: January 20, 2007, 08:36 AM by brotherS »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #10 on: January 20, 2007, 08:38 AM »
Actually, i thought you knew about it, it's very used by members here.. Just check the search for "truecrypt". (strangelly, i can't make links for search results :()

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #11 on: January 20, 2007, 08:39 AM »
NTFS supports encryption, but if you want to access encrypted files from another box than your own, afaik you'll have to export some stuff from your own box and import it on the other - bother. TrueCrypt seems like a decent option.
- carpe noctem

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,085
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #12 on: January 20, 2007, 08:48 AM »
A "decent option."  Given your expressed propensity to be particular, that rates pretty high.  Works for me.
« Last Edit: December 08, 2009, 06:34 PM by CodeTRUCKER »

aignes

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 44
    • View Profile
    • WebSite-Watcher
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #13 on: January 20, 2007, 10:03 AM »
Since a year or so I use TrueCrypt every day and never had a problem with it.

I have for example one TrueCrypt container on my hard drive where the whole development things are stored (source codes, customer data base, etc.), or another container on an external hard disk (~150 GB in size) which is only used to back up data (done with SyncBackSE). Also USB sticks can be encrypted!

TrueCrypt gives me also some kind of peace when I'm out of office, it's one of the tools I could not live without. Highly recommended.
- Martin Aignesberger,  author of WebSite-Watcher

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #14 on: January 20, 2007, 10:11 AM »
Just an heads-up about the ntfs encryption.
Using this system, the files are encrypted with a password you don't know. They are bound to that user and that windows instalation. If you reinstall windows or really wish to have access to those files in another computer, if you didn't unencrypt (does that word exist?) the files first, you're screwed.
From what i know, you're much better off with that truecrypt program or something similar.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #15 on: January 20, 2007, 10:13 AM »
If you reinstall windows or really wish to have access to those files in another computer, if you didn't unencrypt (does that word exist?) the files first, you're screwed.
decrypt :)

And you don't need to decrypt, you just need to export the keys from the registry.

But yeah, I'd personally prefer truecrypt or a similar protection, you know what you get there - which includes Rijndael instead of DES/whatever.
- carpe noctem

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 738
  • c++thorpe
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #16 on: January 22, 2007, 09:14 AM »
As for encrypting with NTFS,

Right click on a folder, then select Advanced, then check the encrypt box.


mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #17 on: January 22, 2007, 11:48 AM »
They are bound to that user and that windows instalation. If you reinstall windows or really wish to have access to those files in another computer, if you didn't unencrypt (does that word exist?) the files first, you're screwed.

This is a key point - if you want to use EFS (the encryption used with NTFS) you must understand how to be able to recover your data from a reinstalled Windows system, otherwise your data is in grave risk of being totally unrecoverable.  It can definitely be done, but it's not a particularly simple process:

http://support.microsoft.com/kb/223316
http://www.microsoft.../deploy/cryptfs.mspx
http://www.microsoft...taprot/w2kadm21.mspx

Personally, I'd stick with TrueCrypt.  with TrueCrypt, the only things you need to know to have recoverable backups are:

1) a backup of the encrypted container file (a single file, generally)
2) the password (or the keyfile if that's what you're using)

With those 2 things, you can recover your data on any system


brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #18 on: January 22, 2007, 12:16 PM »
Thanks for all your comments, I decided I'll use TrueCrypt too!

How will it work in practice?
  • connect my external HD
  • start the HD: "power on"
  • what comes here?
  • Windows and all apps could access the encrypted container file

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #19 on: January 22, 2007, 04:04 PM »
  • what comes here?
I double-click on the encrypted volume container file and the TrueCrypt mount dialog comes up.  I choose the drive letter to mount the volume on, click the 'mount' button, enter the passphrase, and I have a newly accessible drive letter.

Note that working this way (double-clicking on the container file) requires that TrueCrypt (TC) be installed on the computer, but TC will work without being installed - though you do need admin access to work without installation.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #20 on: January 22, 2007, 04:17 PM »
  • what comes here?
I double-click on the encrypted volume container file and the TrueCrypt mount dialog comes up.  I choose the drive letter to mount the volume on, click the 'mount' button, enter the passphrase, and I have a newly accessible drive letter.

Note that working this way (double-clicking on the container file) requires that TrueCrypt (TC) be installed on the computer, but TC will work without being installed - though you do need admin access to work without installation.
Interesting... is it possible to automate this (with AutoHotkey or however) so that I will automatically be asked for the password directly after Windows 'sees' the connected HD? I'd also like it to always get the same drive letter, so if that could be automated too it would be great :)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #21 on: January 22, 2007, 04:24 PM »
I'd also like it to always get the same drive letter, so if that could be automated too it would be great :)
Not sure about the rest, but i think this does happen. My external usb disk always gets mounted with the same letter, even if i connect any usb drive with it disconnected and connect it after.

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #22 on: January 22, 2007, 05:01 PM »
I haven't tried automating TrueCrypt mounting, but TC has a commandline interface, so as long as you can get a specified command to execute when you attach the drive (I imagine that AHK can do this) then you can get the encrypted volume to automount.

tymrwt33

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 23
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #23 on: January 27, 2007, 06:19 PM »
NTFS drives are encryptable, but not automatically encryupted. If you use XP Pro it has an ability to encrypt, but you have to do it. XP Home does not. You have to use an outside program such as True Crypt, or a host of other freebies.
I move my USB NTFS Hard Drive between my desktop and laptop without any problem and can read and write on either computer.
If you give your neighbor an un-encrypted NTDF drive he will be able to read it on his computer.

CmputrAce

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 11
    • View Profile
    • Donate to Member
Re: password-protect external HD (USB)?
« Reply #24 on: February 01, 2007, 09:09 AM »
Truecrypt is really a good way to encrypt a thumb drive or USB hard drive. You just need to know a couple of things...

If you are going to carry this drive between computers and can't guarantee that the computer you will be connecting to has TrueCrypt installed on it, then you'll probalby want to put the TrueCrypt program on the drive with it's driver installation feature. What you will wind up with is an external drive that will take up TWO drive slots on the PC you are connecting to. One for the TrueCrypt software and one for the NTFS (hopefully) partition.

If TrueCrypt will be installed on all the PCs that you will be connecting to, then you can format the entire USB drive as a TrueCrypt volume and have the software auto-detect and auto-install the device when you plug it in.

It's not a simple program to install and understand, but if you take a little time to experiment, you'll come up with a setup that will serve you quite well.

I'm not a TrueCrypt god, just a basic user.