Plays from YouTube. Watch on YouTube
Who should be able to read a file, and who bears the risk if that policy exposes data?
Meet Unix Permissions, Security and Computing Ethics: an original animated lesson in C and Unix systems programming.
We start with owner, group and other permission bits, chmod, umask and directory traversal semantics.
Then we examine access credentials, time-of-check-to-time-of-use races, a private-data case study and ethical questions about consent and foreseeable harm.
The big idea: Least privilege requires both technical access controls and accountability to the people affected.
C and Unix explained visually, one concept at a time.