Skip to main content

How to Password Protect a Folder in Linux Ubuntu

Max holds a B.S. in mass communications from SIU, an M.A. in communications from U of I, and is pursuing an MBA from Webster University.

If you have files that contain sensitive data on your computer, it may not be enough to have them sitting in a folder that anyone who sits down at your Linux Ubuntu computer would have access to. You can install and use the Cryptkeeper application to encrypt and password-protect your sensitive folders to keep both hackers and unwanted visitors who sit down to your computer from seeing that data. You can install Cryptkeeper on your Linux Ubuntu system through the Terminal application, and then use the Cryptkeeper interface to set up encrypted folders.

The Cryptkeeper application is a great option for encrypting folders you don't want other people to have access to.

The Cryptkeeper application is a great option for encrypting folders you don't want other people to have access to.

Steps to Install Cryptkeeper on Linux Ubuntu

  1. Click the "Dash" icon on your Linux Ubuntu home screen. The Dash icon features the Ubuntu logo. The Search Your Computer window appears on the screen.
  2. Type "Terminal" in the Search Your Computer field at the top of the window, and then press "Enter." The Terminal application appears beneath Applications.
  3. Click "Terminal" to launch the application. The Terminal window opens.
  4. Enter the following text in the command line, and then press "Enter": sudo apt-get install cryptkeeper
  5. Enter the password associated with your account when prompted, and then press "Enter." The Cryptkeeper application begins installing.
  6. Press "Enter" when a message appears.
  7. Close the Terminal window after Cryptkeeper is finished installing. You've successfully installed the Cryptkeeper application.

How to Create a Bootable USB Ubuntu Installer in Windows

Steps to Password Protect a Folder Using Cryptkeeper in Linux Ubuntu

  1. Click the "Dash" icon on the launcher again, enter "Cryptkeeper" in the Search Your Computer field, and then click the "Cryptkeeper" icon that appears beneath Application to launch the application. You won't see an application interface launch, but there will be a key icon that appears in the notification area.
  2. Click the "Key" icon to display a context menu.
  3. Select "New Encrypter Folder." The Create a New Encrypted Directory window appears.
  4. Enter a name for the folder you want to password protect in the Name field at the top of the Cryptkeeper application window.
  5. Select the location where you want to create your folder in the explorer in the lower part of the window.
  6. Click the "Foward" button in the lower left corner of the screen. The screen that appears prompts you to enter a password for the folder you're creating twice.
  7. Click "Forward" after entering the password two times. The Files application opens directly to the new folder you created. The folder you created will be unlocked by default. You can hide and lock the folder by clicking the "Key" icon in the upper right corner of the screen, and then clicking to remove the check mark to the left of the name of that folder. You can make the folder visible again by clicking the "Key" icon, and then clicking to place a check mark to the left of the folder you want to make visible again. An Enter Your Password dialog box appears. Enter your password and then click "OK." The Files window will open, displaying the contents of your secure folder.

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.

© 2017 Max Dalton


Wayne Osman on May 20, 2018:

Unfortunately Cryptkeeper could not be found Via terminal install if you know of a newer or updated version it would be much appreciated. System running is Intel 8th gen. with Ubuntu 18.4 Mate