• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

lock folders with a password

How do I hide a folder on my local machine and assign a password to it.?

1 Solution
Right-click on empty space in the folder which you want to protect and select CUSTOMIZE THIS FOLDER, then choose CREATE HTML DOCUMENT FOR THIS FOLDER. Once the document is opened in Notepad, scroll down until you see <script language>="JavaScript"> Insert a blank line after this string. Then insert the following text.

var pass = prompt("Enter the password")
if(pass != "YOURPASSWORD")
Hit the Enter key on your keyboard

Put a password in the place of YOURPASSWORD but leave the quotes. Save the document, exit Notepad,
refresh the folder (or hit F5), enter your new password, and the next time you try to enter that folder,
you'll be prompted for your password. If you enter a wrong password you'll end up in C: drive!

This works on Windows 98 and 2000.

Folder Lock

Folder Lock lets you lock, hide, encrypt and password-protect your private files, folders, pictures, and docs in seconds. Protected files are undeletable, unrenamable, unmovable, hidden, and totally inaccessible. You can either lock, scramble, or encrypt depending on the speed and security.

Magic Folders  

Your invisible folders and files can't be deleted, viewed, modified, or run. For all practical purposes they don't exist. Use Magic Folders to protect your finances, taxes, business and personal documents. Others won't know these files exist and they won't be able to accidentally delete or modify them either. With Magic Folders you can turn your computer over to your children or co-workers without worrying if they'll delete, modify or view important files.

mrstitchAuthor Commented:
Thanks- Will this work on XPPro?
For Xo pro i would recommend magic folders. I 'vnt used Folder Lock but 've heard good things about it
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

mrstitchAuthor Commented:
Thanks for the quick reply- I'll give it a try
check out aso http://www.experts-exchange.com/Security/Q_20626308.html#8586532

edit html is not so good, bcos other ppl stil can access using cmd


go to this site


it has all u needed  fo xp versions jus use this link...

I tried the everstrike Lock Folders XP and while it seems effective at locking and hiding a folder, it requires that you run a program to lock and unlock the folder. Locking the folder simply makes it dissapear and nothing can find it. You would not be able to get back to your folder without running the program, unlocking the folder, and then leaving it unlocked until you want to lock (dissapear) it again.

Their Universal Shield product looks more feature-rich, and costs $10 more. It lets you set options like "visible" "read" "write" "delete" so you can do more than just completely hide the file or folder. It also has a "stealth mode" where only a hotkey can toggle the protect/unprotect state of all your protected files, and the program is otherwise "undetectable".

mrstitch is not asking to be prompted for a password when accessing a folder, only to be able to hide the folder with a password. This might be a great program for that, as if the file isn't "there" then how can it be hacked into? It seems a good way to protect your files because no one can break into stuff they can't see.

I would put this through more thorough testing before I used it personally, but a 15-minute hands-on has shown it to be good at what it does. I can't see where they "put" the files even by watching everything with filemon and regmon while unlocking/locking.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now