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

Notices


Reply
  Search this Thread
Old 07-18-2005, 12:52 AM   #1
sall
Member
 
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, 01:30 AM   #2
Noth
Member
 
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, 02:48 AM   #3
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
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 .
 
Old 07-18-2005, 01:42 PM   #4
sall
Member
 
Registered: Apr 2005
Posts: 50

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

Rep: Reputation: 52
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)
 
  


Reply



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 01:35 PM
Password Protect Folder?? sall Linux - Software 5 07-18-2005 06:58 AM
Password protect directorys? xconspirisist Linux - Security 3 12-31-2004 08:26 PM
how to password protect certain directories? sirpelidor Linux - Security 3 10-06-2004 12:16 PM
Looking for a way to password protect a file within my Home folder BadKarma Linux - Security 2 12-26-2003 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:10 PM.

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