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 :slight_smile:

1 Like

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?

1 Like

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.

1 Like