howtogeek — 2014-08-31T08:20:01-04:00 — #1
Originally published at: http://www.howtogeek.com/105633/how-to-create-a-password-protected-folder-without-any-extra-software/
It’s important to note that this will not actually conceal your data from somebody that knows what they are doing.
edward_gudz — 2014-08-31T11:31:22-04:00 — #2
First : If the folder is not visible and the batch file is not named anything blatant to give it away then you really have nothing to worry about, if not then you should not be hiding folders.
Second: Convert the batch file to .exe, most do not know how to decompile an .exe file, this will give you an extra level of security.
ruja — 2014-08-31T12:44:27-04:00 — #3
Not again please, this is confusing for newbies and actually innacurate, as you are not protecting a thing. The last time you did this BAT thing to pseudo-password protect a folder a bunch of people complained in the forums that they could not unlock the folder and lost access to their data because of misuse.
I totally recommend against this method. You should better explain just how to make and unmake a file a hidden and/or system file both through GUI and CLI and leave the BAT thing.
starslikedust — 2014-08-31T19:34:13-04:00 — #4
Echoing Edward_Gudz its important to note that your password will be easily accessible by anyone who opens the .bat file.
andreyoliveira — 2014-09-01T07:50:14-04:00 — #5
Do not encourage people to use this tip, is insecure. Instead, encourage the use VHD and BitLocker.
cogniview — 2014-09-01T09:15:22-04:00 — #6
I think that, in an environment where you don't have to worry too much about other users having the knowledge to easily overthrow your efforts, this is a good little hack. Obviously it's not meant for keeping extremely sensitive data safe, but for a quick trick to keep prying eyes out of your business, it's not a bad option.
charliej5 — 2014-09-01T09:20:08-04:00 — #7
Perhaps Secret Disk (free and $14.95 Pro) is a better option. There are two levels of password protection and the folders and contents are hidden.
erikhicks — 2014-09-01T13:43:25-04:00 — #8
OMG - seriously??
This is the kind of 'tip' I'd see in an article way back in the days of Windows 3.1! There's much better ways of 'hiding' a folder. How about setting the NTFS permissions to only allow your account to access it and its contents? How about using an encrypted storage container using TrueCrypt or BitLocker? And yeah, simply editing the "locker.bat" file would reveal the password.
I'm floored, HTG. LOL! Seriously... I gotta laugh and be dismayed at the same time. April 1st is long gone, guys.
geek — 2014-09-01T23:16:07-04:00 — #9
Right at the beginning of the article we mentioned that this trick won't stop anybody that knows what they are doing.
And then at the end of the article we showed how to display the hidden files, and even how to get your password back should you forget it.
It's meant to be a fun trick, not a place to store your bank account details. Most people will probably use it to hide stuff from their more clueless relatives.
iso_cooling — 2014-09-03T10:35:45-04:00 — #10
cah — 2014-09-04T21:48:46-04:00 — #11
There are additional steps you can take to make this more secure - at least in the social engineering sense.
Say you want to hide a bunch of files. Here's what you can do to add as many hoops as you can for people to jump through.
Put them on a USB drive, so that you can physically hide it someplace.
Copy a bunch of random system files from your computer. This is to add a bunch of noise for snoopers to have to sift through. So now your top level of the USB drive should have tens if not hundreds of random folders and files.
add an innocently named folder to this directory. Say "cgi-bin" or something that blends in..
inside this new folder repeat step 2.
Add more folders that seem innocent enough, add more junk files. small text files that don't take up much space.
Once you've sufficiently buried your "secret" folder. Place this locker.bat file here, rename the folder from "private" to something less conspicuous, like "dir" for example - again, something that will blend in to the surrounding folders and file names.
Run this script to password protect and hide this secrets folder.
Then when that's done. rename locker.bat to something random, like "00xb011.obj" something no one would bother to open - and even if they did, since you altered the file extension they would need to know to change it to a .bat file.
9.Inside of your secret folder, take all of the files that you want to hide, lets say they're image files. change the extension from .jpg to something stupid and random like .mox...
So now if someone wants to find your stuff, they'll have to either be really patient and determined, or string together several lucky guesses. Even if they found your files, unless they know what they're doing they will yet again have to guess the correct file extensions. If you surround each step of the way with tons of random junk it will only serve to convolute the process.
then, whenever you want to access the files, you of course know the path to get to the folder. just rename that "00xb011.obj" back to locker.bat, use it, access the files, and then rename them back to .jpgs.
nickslayer — 2014-09-08T11:49:13-04:00 — #12
Your Idea with the USB stick gave me this revelation.
Put the .bat file on a memory stick, then just add the next line after the "title Folder Private" line
pushd "C:\location where you want to hide the private folder"
That way the unlocker can be taken out of the Computer and no one can open the bat file to get the password. Basically turns your USB into a key.
You can even use an autorun so that windows automatically unlocks the drive when the USB is plugged in however I dont know how you would lock it automatically when you remove the drive.
Any Ideas on that?
system — 2014-09-10T08:20:12-04:00 — #13
This topic was automatically closed after 10 days. New replies are no longer allowed.