Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-18-2005, 01:52 AM   #1
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Password protect folder?

How can I password protect only select folders? Including a password prompt?
Old 07-18-2005, 02:30 AM   #2
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
You don't, you should setup seperate accounts for each user and use regular permissions to determine who has access to what.
Old 07-18-2005, 03:48 AM   #3
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
Re: Password protect folder?

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 .
Old 07-18-2005, 02:42 PM   #4
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
while accessing the folder through Konqueror
Old 07-18-2005, 06:57 PM   #5
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
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: (Note: Depending on what distro you have you can probably skip the patching the kernel steps)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protect souvik Programming 3 11-06-2015 02:35 PM
Password Protect Folder?? sall Linux - Software 5 07-18-2005 07:58 AM
Password protect directorys? xconspirisist Linux - Security 3 12-31-2004 09:26 PM
how to password protect certain directories? sirpelidor Linux - Security 3 10-06-2004 01:16 PM
Looking for a way to password protect a file within my Home folder BadKarma Linux - Security 2 12-26-2003 09:13 PM

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration