The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setting up FTP access to my Tomcat Dir boarderstu UNIX for Dummies Questions & Answers 4 07-28-2007 05:43 AM
FTP Restriction mduweik SUN Solaris 0 02-28-2006 08:38 AM
Restriction to User gelbvonn Filesystems, Disks and Memory 5 09-10-2004 12:39 PM
sendmail 8.9 file size restriction dtooth71 UNIX for Dummies Questions & Answers 1 07-31-2003 09:07 AM
Restriction for more than one user kayode Shell Programming and Scripting 7 03-28-2003 08:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-27-2007
Registered User
 

Join Date: May 2007
Posts: 27
setting file access restriction

is there a way to "lock" an entire directory to where it currently resides for securtiy purposes? only certain users can access these data, however i want to prevent the possibility of transferring/duplicating the data to where other unauthorized users can access it. Any one who knows a good solution for this? Thanks a lot!
Reply With Quote
Forum Sponsor
  #2  
Old 07-27-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,326
I doubt if you could do that. Any user that can read a file can also copy it to some other location. For that matter, the user can even run 'cat' on a file, copy and paste the information in a txt file on his/her desktop, send the file out via mail.

It basically works out to only allowing trusted users to access sensitive data, and then trusting those users to not leak that data to anyone else.
Reply With Quote
  #3  
Old 07-27-2007
Registered User
 

Join Date: May 2007
Posts: 27
blowtorch, the data are not textual in nature.
thanks for the comment. i thought this is going to be tough.
anyone has other comments please?
Reply With Quote
  #4  
Old 07-28-2007
sad_angle's Avatar
Registered User
 

Join Date: Jun 2001
Location: Madison, WI
Posts: 72
To block a certain directory for restricted access

This is general guidence, brain-storming.


1-Information are not text (images?).
2-Block the directory for only certain users.
3-Prevent users who have access to this data, from moving this data somewhere else.

step 1& 2 are possible, step 3 is impossible just like blowtorch said. You have to do hardware restrictions, network security control, namely VLAN and access-lists, plus-like blowtorch discribed- social engineering

but for step 1 & 2 (P.S. this is basic UNIX knowledge, deep apologies if you know it already)

1st;make a new user group, say it's name is 'secureGrp'

[root@localhost /root]#groupadd secureGrp
[root@localhost /root]#vim /etc/groups

your group should appear in the bottom, something like

secureGrp::x:500:

2nd; add users to this group after the last colon, seperated by commas (in Linux & BSD)

secureGrp::x:500:OwnerOfSecureDir,secureUser1,secureUser2,secureUser3

save file and exit

3rd; change the directory permissions (say that it is in /home/secureDir/) to : owner=OwnerOfSecureDir, group=secureGrp, owner can read&write, group can read, others none.

[root@localhost /root]#chmod -R 640 /home/secureDir
[root@localhost /root]#chown -R OwnerOfSecureDir /home/SecureDir

the -R is for recursive of everything in the directory

(risking blame for posting a tutorial )
Reply With Quote
  #5  
Old 07-29-2007
Registered User
 

Join Date: May 2007
Posts: 27
hi sadistic_anger, thank you for the detailed post. I didnt have any problem setting the user and group permission for the data, and what I did was exactly what you described.

> You have to do hardware restrictions, network security control, namely VLAN and access-lists, plus-like blowtorch discribed- social engineering

ok another department takes care of this--

thanks a lot!!!

Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0