View Single Post
Old 24 March 2015, 20:11   #37
Mrs Beanbag
Glastonbridge Software
Mrs Beanbag's Avatar
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,202
Originally Posted by idrougge View Post
Protect SYS:#? SUB D
that's a good example of the idea, but this on its own won't give you any useful protection. It would prevent you from little accidents, perhaps, but...
1. it prevents ALL users equally, so it would also prevent legitimate filesystem writes to protected files, by processes that you might want to have privileged access.
2. it wouldn't actually prevent malicious software from doing anything, since there is nothing to stop anyone simply doing a "Protect ADD D".

Nevertheless it demonstrates that the filesystem can have some measure of security, as long as malicious code doesn't go so far as to bang the hardware to access the hard drive.

There is also the "lock" command which you can use to completely write-protect an entire volume.
Mrs Beanbag is offline  
Page generated in 0.04120 seconds with 10 queries