File Protection and Security


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting File Protection and Security
# 1  
Old 02-21-2011
File Protection and Security

Since I'm just new in unix, can I ask the experts on how I can develop or enhance a unix utility in protecting or securing a file using scripts.

Im thinking chmod, is it enought? or are there other utilities in unix?

My algorithm is like there will be a menu that shows a list of types of protection that the user wants to put in his/her file. and also to unprotect files. *I need more ideas.

sample

1 Protect
2 Unprotect
3 etc that you can add
4 etc that you can add
5. maybe exit here.

then input will be

"filename" "choice"

Thanks in advance Smilie
# 2  
Old 02-21-2011
ith the right owner or group on the file that should do the trick.

why do u think chmod is not enough? Can you provide and example?
# 3  
Old 02-21-2011
Most UNIX/Linux have file ACL's these days. If you can tell us what O/S you are using we can advise you on their implementation of file Access Control Lists.

Thx.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Linux

file security/protection

Hi All I am working on a site to help newbie to learn linux for free. demo.freelinuxconsole.info there is only one file index.php its been able to rename or deleted. Kindly let me know what permissions should i give to secure this file from editing or deleting by others. (8 Replies)
Discussion started by: smithjack
8 Replies
Login or Register to Ask a Question