LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Password protect folder? (https://www.linuxquestions.org/questions/linux-security-4/password-protect-folder-344165/)

sall 07-18-2005 12:52 AM

Password protect folder?
 
How can I password protect only select folders? Including a password prompt?

Noth 07-18-2005 01:30 AM

You don't, you should setup seperate accounts for each user and use regular permissions to determine who has access to what.

hardcorelinux 07-18-2005 02:48 AM

Re: Password protect folder?
 
Quote:

Originally posted by sall
How can I password protect only select folders? Including a password prompt?

Are u trying to access this folder through shell or web??? clear your question.....if it is a web folder u can do it .

sall 07-18-2005 01:42 PM

while accessing the folder through Konqueror

tkedwards 07-18-2005 05:57 PM

You can zip the folders and then encrypt them very easily using gpg (CLI) or kgpg (GUI). Then someone will need a password to access that folder.

Also you could setup an encypted loopback filesytem and store your folders that you want protected on that:
http://www.tldp.org/HOWTO/Loopback-E...tem-HOWTO.html (Note: Depending on what distro you have you can probably skip the patching the kernel steps)


All times are GMT -5. The time now is 06:51 PM.