Results 1 to 4 of 4

Thread: How to password protect a folder on Linux?

  1. #1
    Join Date
    Jun 2005
    Location
    Delhi, India
    Beans
    519
    Distro
    Ubuntu 16.04 Xenial Xerus

    How to password protect a folder on Linux?

    This question is being asked by many Linux users on various forums. Today I searched on Google and found this solution on Linuxforums.org.

    You can password protect a zip file. Proceed as follows:

    Create a directory for this experiment, and name it test.
    Copy a few files and paste them into this directory so it isn't empty.
    Now open a terminal and enter:
    $ zip -e -r test test
    Enter password:
    Verify password:
    Delete the directory test.

    Now you have a file test.zip which is password protected.

    zip with -e option encrypts the contents of the zip archive using a password. This encrypts with standard pkzip encryption which is considered weak.

    However, the job of protecting the file is done, because even the root user needs the password or should be a hacker to decrypt.
    Ubuntu on Lenovo G50-45 with Secure Boot on and Windows 10 in dual boot
    Linux Registered User #395189
    Ubuntu user number # 345

  2. #2
    Join Date
    Feb 2006
    Beans
    5

    Re: How to password protect a folder on Linux?

    Thanks for the effort, but this is not protecting a folder with a password. It's merely compressing a folder into a passworded zip file..
    deceptive title dude

  3. #3
    Join Date
    Aug 2008
    Location
    Queensland, Australia
    Beans
    167
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to password protect a folder on Linux?

    Very nice, shame you cant just pp a folder. i know years ago in windows i was using a program to pp folders, i have no idea what it's called now, but i bet if someone looks hard enuf there should be a linux program to encypt or pp folders.
    and ioluas the title is a question not a statement so it's not misleading at all.

  4. #4
    Join Date
    Aug 2006
    Location
    Thailand
    Beans
    1,667
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: How to password protect a folder on Linux?

    I've never tried it, but I believe Crypt Manager will allow you to do this.

    Here's a link:

    http://www.ubuntugeek.com/crypt-mana...ntu-linux.html

    It looks like they have re-named the package.

    Here's another link:

    http://code.google.com/p/crypt-manager/

    Yep!

    Works well.
    You need to install three packages in the order listed here:

    1. conceal_0.0.5-0ubuntu1-all.deb
    2. conceal_gtk-0.0.5-0ubuntu1-all.deb
    3. nautilus-conceal_0.0.5-0ubuntu1-all.deb

    Regards,
    Roger
    Last edited by ramjet_1953; August 17th, 2008 at 12:22 PM. Reason: More information
    There are only two things in life that are mandatory.
    Birth and Death.
    Everything else is optional.
    Ubuntu User #10495

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •