1

I want to keep password for my important folder where my all the documents are kept so how can i keep password for it?

cannot enter password

2

If you want to stop people accessing a file or folder, encrypting the file with a password is a great way to do it. First either open Archive Manager and click New, or right-click on the folder you want to protect and press 'Compress'.

Then chose a compression format you can encrypt (e.g. .7z, .arj, etc) (under Other Options). Using 7zip compression is good, as then you can encrypt the file list to. Then type the password you want to use.

enter image description here

Then you can add files:

enter image description here

Then you have an encrypted archive with your files secure inside - though it can still be deleted...

You can also hide the compressed file by adding a . to the beginning of the file name, so it only shows when you press Ctrl+H.

  • There is password option but i cannot enter password in it – Freddy Jun 7 '14 at 5:15
  • 1
    @wilf how did you create that emoticon its so sreative and very attractive – agha rehan abbas Jul 10 '14 at 18:52
  • 1
    @agharehanabbas - I did create/modify some emoticons a while ago using the GIMP - you can do neat animated ones using GIF or a similar format. If I didn't create this one, I probably found it on Google Images :D. To create one, you can using paths, the circle select tool, gradients etc - stroke selection/path can be used to draw the outlines. – Wilf Jul 10 '14 at 19:10
  • 1
    thanks i will experiment this thing i am very curious about it :D – agha rehan abbas Jul 10 '14 at 19:35
1

By default, your first line of defense is linux permissions and your regular password.

sudo chown your_user:your_user /home/your_user/some_directory
chmod 700 /home/your_user/some_directory
chomd 600 /home/your_user/some_directory/*

use 700 for sub directories as well (600 for files).

That will not protect against sharing your account , or someone with physical or root access.

To protect from root / physical access you have to use encryption. You have several options for encryption from a private, encrypted home directory to gpg to cryptkeeper . cyptkeeper is a graphical tool and will encrypt the directory.

Note: as long as the directory is decrypted is is accessible to root and other users with the appropriate permissions.

Not the answer you're looking for? Browse other questions tagged or ask your own question.