How to password protect external hard disk drives

Hi All,
I have purchased and external USB port hard disk. The problem with it is anyone just plug it to thier computers USB port and use it as we use our windows explorer to browse the filesystem. However whenever I plug to my computers USB port it should prompt me for a password and once authenticated it should allow me to browse the filesystem of my external hard disk. How can I achieve this using java ?
Thanks & Regards,
Kumar.

If you really want this to work properly, you will have to write a DLL for Windows that will intercept the appropriate filesystem call and prompt you for a password. Otherwise, another option would be:
Create a standalone Java application that will read/write from the hard drive
Use Java Cryptography extension for all read/writes to the hard drive (encrypt onto hard drive, decrypt into memory or internal hard drive)
Have your sign-on required to use the Java application (and hence, decrypt the contents of the drive)
Use passphrase-based symmetric encryption so that the password can be the actual key for the encryption/decryption (or if you want, have that key unlock a larger symmetric key also encrypted on the drive)- Saish
"My karma ran over your dogma." - Anon

Similar Messages

  • How to reinitialize an external hard disk drive which serves for Time Machine?

    How to reinitialize an external hard disk drive which serves for Time Machine?
    Thanks for your answer.

    Everything you need to know about initializing (formatting) is here.
    http://pondini.org/OSX/DU1.html
    Lots of useful information on TM is here in the same place.
    http://pondini.org/OSX/Home.html

  • Password Protected External hard drive

    I have a password protected external hard drive that I want to format so I can give it to a friend. When you format the drive does the password protection also get erased? Is there anything essential that I need to know before doing this? Thanks for your help!

    Welcome to Apple Discussions!
    If it's a WD MyBook, I'm not sure. I formatted and partitioned a MyBook for a friend, but was never able to get rid of the password protection so we just left it. It may be possible to do it, but I don't know how. Definitely check it out, and if the password is still required, be sure to pass it on to your friend.
    Good luck!

  • How to stream audio/vide​o files on bb playbook and create different play lists from another pc and/or external hard disk drive connected with a share router

    hi guys
    i wish to use my external hard disk drive (1tb) connected with a belkin share router as main storage drive and stream audio/ video and other files on bb playbook through wifi.
    also wish to create different playlists directly on playbook.
    please tell me guys how can I do it.
    thank you in advance

    Try this...
    http://forums.crackberry.com/blackberry-playbook-f​222/how-stream-video-music-more-your-mac-pc-your-p​...

  • Hi there! yesterday I installed Mavericks on my Macbook. Since then, it doesn't mount my external hard disk drive anymore, which he did a week ago (without the update). Is there anyone out there who knows a solution?

    Hi there! Yesterday, I installed Mavericks on my Macbook. Since then, it doesn't recognize my external hard disk drive anymore (at least not on the desktop. In Germany they call it "it doens't mount it". I don't know if it's the same expression in english?)
    I just used it a week ago, before I did the update and it worked perfectly fine.
    Is there anyone out there who knows a solution for this problem? I've been googleing for hours now and can't find any answer.
    Thank you!!!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Connecting external hard disk drive

    I was just wondering if we buy an external hard disk drive, will it work on the Mac ? Or must we also buy an external hard disk drive manufactured specially by Apple ?
    Can Mac read and write from/to this external HDD ?
    Thanks

    Apple has not manufactured external hard drives in at least 8 years.
    Most external hard drives will work with Macs. Many though are preformated to only work with Mac OS X. Since according to your profile 10.5.4 is on your machine, you should be fine on that account. Some are preformated for NTFS, or FAT32 and you need to use Disk Utility in your Applications -> Utilities folder to format it to be usable as a clone backup, or as a backup for Time Machine. If you want to share the hard drive between Mac and Windows machines, see this user tip:
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=4582486
    Note, since you posted to the iMac Flat Panel forum, I can only surmise you have a PowerPC Mac with a white dome and a screen on a rotating chrome arm. If not, you posted to the wrong forum. Here's how to identify your Mac:
    http://support.apple.com/kb/HT1463?viewlocale=en_US
    If you have a PowerPC Mac, you must get a Firewire hard drive in order for your external hard drive to be bootable as a clone backup.
    Intel Macs supports both USB and Firewire for external booting.

  • I can't copy my itunes library to an external hard disk drive!!

    this is my first time at the forum and i dont find a better way to ask, i want to copy my itunes library to an external hard disk drive for have a back up, but when i try to copy it it appears this message "the item "itunes music" has 1 or more items that are in use and cannot be modified", i dont know why, then i search for help in apple support and this article http://support.apple.com/kb/HT1751, but i do what it says and i still having my problem, i can't copy my music, that message keep's appearing and it dont let me copy my music.

    forget it i discover my problem, this message gives u 2 option stop or continue i just click continue and it get copied, i think this is normal but like this is my fisrt time i dot this i get confused, i think i still used to windows, i cant believe because i have a ear with this computer. well anything is a good experience.

  • How can I optimize my hard disk drive usage and performance in Windows 8 or Windows 7?

    QuestionHow can I optimize my hard disk drive usage and performance in Windows 8 or Windows 7?
    AnswerThere are a few simple steps you can take to ensure your hard disk drive is used optimally.
    Use Toshiba HDD Protection
    Many Toshiba laptops come with a program called Toshiba HDD Protection pre-installed. This program helps to protect your hard disk drive from being damaged due to falls or impacts. By default, it should already be enabled. You might be tempted to lower the detection levels in this application, but doing so could cause your hard disk drive to be damaged. Remember that while the application can reduce the chance of damage, you should still avoid allowing the laptop to fall or suffer rapid impacts.
    For more information on this utility, see the following article:
    TOSHIBA HDD Protection
    Optimize the drive
    Windows 8 and Windows 7 optimize hard disk drives automatically through a process called defragmentation. Unless you've disabled this, you don't need to do anything. If you have disabled this and want to run the process, you can still do so.
    In Windows 8, search for "Defrag" at the Windows Start screen and select "Defragment and optimize your drives."
    In Windows 7, search for "Defrag" in the Start Menu's search field and select "Disk defragmenter."
    You can use this tool to optimize your hard disk drives, allowing Windows to find needed files faster.
    Remove items from startup
    Some applications run automatically when Windows starts. This can add additional functionality, but it also decreases the performance of your computer. Sometimes you might want to disable certain programs from starting automatically.
    In Windows 8, search for "Task Manager" at the Start screen. Select the "Startup" tab. Select an application you'd like to disable from starting automatically and then click the "Disable" button in the lower-right.
    In Windows 7, type "msconfig" in the Start Menu's search field and press ENTER. Uncheck the boxes next to applications you'd like to disable from starting automatically.
    You should be sure of the purpose of an application before disabling it from starting automatically. Some applications might be important. If in doubt, you might consider searching on the Web to discover more information about a program. Remember that if you find that you disabled something vital, you can always re-enable it.
    For more information, please see the following video:

    QuestionHow can I optimize my hard disk drive usage and performance in Windows 8 or Windows 7?
    AnswerThere are a few simple steps you can take to ensure your hard disk drive is used optimally.
    Use Toshiba HDD Protection
    Many Toshiba laptops come with a program called Toshiba HDD Protection pre-installed. This program helps to protect your hard disk drive from being damaged due to falls or impacts. By default, it should already be enabled. You might be tempted to lower the detection levels in this application, but doing so could cause your hard disk drive to be damaged. Remember that while the application can reduce the chance of damage, you should still avoid allowing the laptop to fall or suffer rapid impacts.
    For more information on this utility, see the following article:
    TOSHIBA HDD Protection
    Optimize the drive
    Windows 8 and Windows 7 optimize hard disk drives automatically through a process called defragmentation. Unless you've disabled this, you don't need to do anything. If you have disabled this and want to run the process, you can still do so.
    In Windows 8, search for "Defrag" at the Windows Start screen and select "Defragment and optimize your drives."
    In Windows 7, search for "Defrag" in the Start Menu's search field and select "Disk defragmenter."
    You can use this tool to optimize your hard disk drives, allowing Windows to find needed files faster.
    Remove items from startup
    Some applications run automatically when Windows starts. This can add additional functionality, but it also decreases the performance of your computer. Sometimes you might want to disable certain programs from starting automatically.
    In Windows 8, search for "Task Manager" at the Start screen. Select the "Startup" tab. Select an application you'd like to disable from starting automatically and then click the "Disable" button in the lower-right.
    In Windows 7, type "msconfig" in the Start Menu's search field and press ENTER. Uncheck the boxes next to applications you'd like to disable from starting automatically.
    You should be sure of the purpose of an application before disabling it from starting automatically. Some applications might be important. If in doubt, you might consider searching on the Web to discover more information about a program. Remember that if you find that you disabled something vital, you can always re-enable it.
    For more information, please see the following video:

  • Dismount multiple external hard disk drives

    I have multiple external hard disk drives and was wondering what the command line is that will dismount all of these at once? Note that there is also one external DVD unit as well which I would not want to dismount.
    Thanks,
    Lyman

    diskutil unmount "/path/to/disk";diskutil unmount "/path/to/disk";diskutil unmount "/path/to/disk"
    Just replace replace "/path/to/disk" with the path to the mount point, leaving the quotes.
    Good luck!

  • I am not able to delete or write my files to my external hard disk drive what shall i do?

    i am teja i brought a new mac book air here i am not able to write or delete the files that are present in a external hard disk drive what shall i do now to enable required permisions................plz reply me i am new to mac

    I guess your external drive is Windows (NTFS) formattet.
    By default you were only able to read from that drive, as Mac doesent support NTFS write.
    If you want to have read/write access to a NTFS volume you have to use add-in tools like MacFuse or Paragon on your Mac.
    Not having write or delete permissions on the external drive may also preventyou from changing existing files on that drive.
    Right click on the drive in Finder and choose "Information" from the menu will give you more information about the reasons of your problem.
    Lupunus

  • Password Protect external hard drive, it hasn't worked, why?

    Hi, I've surfed around and read how to password protect an external hard drive and I encrypted it, etc as told.
    However, and this will likely show my ignorance but isn't that the point of asking a question...
    The thing is, it's made the disk image that requires a password, but the hard drive can be ejected and put in and accessed without a password. The disk image is protected, permanently there (so maybe now it's taking up space on my hard drive, and the actual external hard drive is the same as it ever was and can be accessed without any password.
    Is there something I've done wrong, or something I'm not understanding about the concept?
    Thanks in advance.
    Message was edited by: NeanderCuz

    Hi-
    Welcome to Discussions!
    Double clicking the disk image should respond with a password request.
    Does yours work that way?
    If so, you didn't do anything wrong, as far as the encrypted disk image goes.
    That's about all that you can do.
    http://support.apple.com/kb/HT1578
    To encrypt the entire drive and make it inaccessible without password, this might be what you want:
    http://www.truecrypt.org/

  • How to format an external hard disk Mac Os Extended (Journaled)?

    hello
    I connect an external hard disk (2.5' IDE Western Digital Scorpio Blue, WD2500BEVE) via USB or FireWire to my Mac mini. The Disk Utility tool shows an external disk drive of 128 GB - but the disk has 250 GB. How can I format the external USB/Firewire-harddisk 250 GB "Mac OS Extended (Journaled)"?
    I tried also to format the disk on a Windows PC (Windows XP). But I could not find a software to format "Mac OS Extended (Journaled)".
    Any hints on this? Thanks in advance for any feedback!

    andreasmarx wrote:
    As I use theses hard disks in a external hard disk case, I'm asking me whether my hard disk cases do not support more that 128 GB disk capacity. Is that realistic?
    It is not only realistic but probably the reason your Mac cannot see more than 128 GB of the capacity of the drives mounted in them. It has nothing to do with the interface between the Mac & case (like Firewire) but instead with the controller in the case that connects the raw ATA drive to that interface. Older ATA standards used a 28 bit LBA (logical block address) scheme to access the disk. For 512 bytes per sector this works out to a maximum of 128 GB of addressable disk capacity. The ATA-6 standard, also called Ultra-ATA/100 or just ATA-100, increased the bits in the address space from 28 to 48, with a disk capacity limit of 2 petabytes.
    ATA-6 was introduced in 2001, so any external drive case made before then for ATA drives will be forever limited to 128 G. Even now, some come with a controller that does not support the ATA-6 standard, & essentially none have all the hardware to support its full 48 bits of address capacity. However, since 2 PB (2000 terabyte) drives won't be available anytime soon, all you really need is a case that is ATA-6 or better compliant & supports enough address bits for the largest drive you intend ever to put in it.
    Case makers don't usually make this information easily available but many now include a "bullet" spec about the maximum capacity their case supports, typically rounded off to simple numbers like 320 GB, 500 GB, or whatever. If you can't find this info, you can assume that the newer the case the more likely it is to support larger capacity drives, or just buy one with a good return policy & test it yourself with the largest raw drive you own.

  • How to make my external hard disk to be used by both MAC and PC?

    I have an external hard disk which was firstly formated on a pc and that time i could wride and read it by a Pc but the Mac could only read it.
    After that i formated it on the Mac and now The Mac can write on it but PCs dont even see it.
    Can i do anything in order for my hard disk to work both on MAC and Pc?
    PowerBook G4   Mac OS X (10.4.8)  

    http://discussions.apple.com/thread.jspa?messageID=4073062&#4073062
    "Open Disk Utility. Select the drive entry for the external drive (Mfgr.'s ID and drive size) then click on the Partition tab. Select one (1) partition from the drop down menu. Click on the Option button and select the Master Boot Record (MBR) partition scheme then click on OK. Set the format type to MSDOS (FAT32) from the Format drop down menu. Click on the Partition button. Wait for the volume to mount on the Desktop. Select the volume entry (sub-entry of the drive entry) for the volume you just created, click on the Erase tab. Set the format type to MSDOS from the Format drop down menu, click on the Erase button. Wait for volume to mount on Desktop. You're done."
    MacBook Pro 17"   Mac OS X (10.4.9)   BootCamp WinXP

  • External hard disk drive problem with windows laptops?

    my other hard disk drive cannot be read or write on windows and on my macbook pro 13.

    If the HDD cannot be read on either machine, it may have failed.  Connect it to your MBP and open Disk Utility.  Is it recognized there?
    Ciao.

  • Checking I still have a password protected external hard drive

    I recently got a new mac (went from a 2009 Lion imac to a 2012 Mavericks imac) and i used time machine to do i (time machine is also encrypted/passworded) All is well.
    I use an external 2TB hard drive to store data on and i had set this drive up on the 2009 imac formatted with a password which is saved on my keychain.
    When i upgraded everything transfered ok but the time machine drive asked for password, i entered it and again no issues. The 2TB drive however (i turn it off when not in use) didnt ask for a password at all, it works fine but it no longer requires a password?
    The other issue i had recently was the fact that randomly when turning the drive on it DID as for the password, which when i entered it... it was wrong? even though it is entered correctly 100%.  I then turned the drive off and on again and boom it works, without asking for a password.
    So i need to know if its password protected or not! how?

    i formatted the hard drive and did it in disk utility, which means a full day or so of formatting and rebacking up, not really viable.

Maybe you are looking for