How to Password Protect a Single Folder Taking the Shortest Possible Time?

2017-09-21 06:59:15 / Posted by Megan Charles to Utility Follow @ Megan

Increasingly, Windows and Mac users are paying more attention to information security and data privacy. What measures shall we take to ensure safety, especially for those confidential and sensitive folders? The best way, I think, is putting a password on a folder, since it can keep the malicious invasion out of the door.

Nevertheless, how to password protect a folder? Here I will provide the quick and simple methods of password protecting a folder for you.

Password Protect Apps & Block Websites with Professional Tool
Want to password protect intimate apps or block distracting websites on Mac? Try Cisdem AppCrypt to solve all the problems.
Free Download

Things to Learn by Heart When Password Protecting a Folder

  1. If your folder is very private and personal, I advise you to use a paid and standard application. Since your password will be easily crack in the case of using junk software or simple locker.
  2. Enter a familiar password that you have already kept it in mind. If you forget the password, you may lose lots of time to get it back.
  3. Remember backing up your folder. Those bad guys are able to delete your password protected folder when they can’t open it.
  4. Save your locked folder in a special location. Don’t put it in a prominent place, such as desktop. Then nobody can find your folder at short notice, only you.

How to Password Protect a Folder in Windows?

In contrast to Mac operating system, it is difficult for you to find a way to lock folders in windows without installing extra software. Many methods recommended are using a piece of software. For people who don’t like using extra application, I am glad to share a way on how to password protect a folder in Windows by its built-in set in this section.

  1. Create a new folder in any location and name it. Open the folder and right click on the empty space. You can rapidly create a new Text Document from the context menu.How to Password Protect a Folder in Windows Step One
  2. Open the document up and paste the following string into the contents of the document. After that, change the ENTER_PASSWORD_HERE text with the password that you would like to set.
    title Folder Private
    if EXIST "HTG Locker" goto UNLOCK
    if NOT EXIST Private goto MDLOCKER
    echo Are you sure you want to lock the folder(Y/N)
    set/p "cho=>"
    if %cho%==Y goto LOCK
    if %cho%==y goto LOCK
    if %cho%==n goto END
    if %cho%==N goto END
    echo Invalid choice.
    goto CONFIRM
    ren Private "HTG Locker"
    attrib +h +s "HTG Locker"
    echo Folder locked
    goto End
    echo Enter password to unlock folder
    set/p "pass=>"
    if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
    attrib -h -s "HTG Locker"
    ren "HTG Locker" Private
    echo Folder Unlocked successfully
    goto End
    echo Invalid password
    goto end
    md Private
    echo Private created successfully
    goto End
  3. Next, navigate to File > Save As. Click the dropdown menu of Save as type and select All Files. After saving the file as locker.bat, you can delete the original text file and run batch file by double clicking on it. A new folder named Private will be created, just feel relieved to add all the stuff that you intend to password protect to the Private folder.How to Password Protect a Folder in Windows Step Three
  4. Run the batch file again, you will be asked Are you sure you want to lock the folder(Y/N), press Y and hit Enter to password protect a folder. At this time, the Private will disappear. Now, if you want to view the folder, you need type a correct password.How to Password Protect a Folder in Windows Step Four

If you forget your password, you can right click the folder and choose Edit. Then, you will find the password of the folder. But don’t operate these steps in front of others, in this case, you may know your secret folder.

How to Password Protect a Folder in Mac OS X?

People always use Disk Utility or freeware to password protect a folder on Mac. You can google for the answer, or read this post Two Practical Ways to Password Protect Folders on Mac. If you think it’s not enough, now I am willing to introduce another free method to you. Have you heard using Terminal to lock a folder on Mac? In this part, I am going to show you how to lock a folder on Mac and call the folder Tab.mp4.

  1. Turn on Terminal from Spotlight or the Utilities folder in Applications. Then white down cd Desktop and Hit the Enter key to focus Terminal on your desktop.
  2. Next type zip -e Tab.mp4/*. As I named it Tab.mp4 before, so it should be the same folder name. What's more, Locking folder must add code /*.
  3. Press Enter again, you will need write Enter password and Verify password. Just a moment, you folder will be converted to ZIP format. If you want to view it, it has to give a right password.

If your folder name has a space, you need add \ between words. For example, once you name your folder as My Secret.png, it should be zip -e my/ my/secret.png/*.

Strongly Recommend- Try Third-party Applications

Free methods provide great protection for Windows and Mac users. But sometimes it might don’t work efficiently. So if you want to be more convenient, you can use third- party apps.

  1. Folder Guard for Windows. It’s a brilliant application that you can use to restrict access to files, folders, and other Windows resources. With it, all important files and folders can be locked. Meanwhile, the password protected folder wouldn’t be hided until you enter a valid password. Moreover, you are able to protect private system files from destruction and modification, disable access to Control Panel and removable drives.Folder Guard for Windows
  2. BetterUnarchiver for Mac. It is a powerful and flexible program to compress and decompress file and folder on Mac. BetterUnarchiver has a great ability to password protect zipped files and folders. Thus you can compress your file or folder into ZIP, 7Z or Tar format and then set a password. As I show you before, BetterUnarchiver is also an unarchiver program, so you can open your locked file or folder directly via it after you typing the password.BetterUnarchiver for Mac

Bonus Tool for Mac Users

Besides password protecting files and folders, do you have other sensitive things need be protected? Like Facebook, WhatsApp, Skype, Email and so on. Actually, password protecting your applications on Mac is vital. So guys, try AppCrypt, it really awesome.

Free Download

Key Features of Cisdem AppCrypt:

  • Lock any apps on Mac that you want them to be private
  • Make encryption schedule to password protect apps at Specific Times
  • Exit inactive locked apps voluntarily for safe measures
  • Keep records of failed attempts to password protected appsCisdem AppCrypt for Mac

Cisdem AppCrypt doesn’t support folder locking, it merely allows you to lock apps on Mac.

Most Popular Downloads

DVD Burner Mac

Create DVD from popular video formats including AVI, MP4, MOV, FLV, MKV, WMV, etc. for playing on any DVD player.

Learn More

Video Player Mac

Free video player that plays just about any media file you can throw at it. Can play 4k, 8K and HD videos without buffering.

Learn More

Hot Articles

  • How to Password Protect Folders on Mac with/without Disk Utility

    Do you want to password protect a folder on your Mac? This article will show you two ways to password protect your folders and you can choose the best way which is suitable for you to create a password on any folders on your Mac.

  • How to Password Protect Files on Mac OS X?

    Computers have become the place where you store pictures, documents, videos,favorite music and everything else in the same place. But everybody who is able to access to your computer can open your important files easily. If you want to keep movies, pictures and other files under a safe lock, setting a password to protect them is very necessary. This article will show your how to password protect files on Mac using three certain ways.

  • How To Password Protect and Encrypt Office Documents on Mac

    This article explains how to encrypt and add a password to office documents including excel, word, then recommend you an application to better password protect many office files at one time.

1 Comments Leave a Reply

  • Grumpy

    The methods have been discussed in great detail. Good as always! I never have had any problems with your methods. And I am pleased that your post still will be updated. I will continue to focus on it.

    2 years ago REPLY