The Bell–LaPadula Model (BLP) is a state machine model used for enforcing access control in government and military applications. The model uses multi security level where higher level users cannot write downwards and lower level users cannot read upwards. This project is a simulation of BLP with Unix style security in CPP.
There are 3 files included salt,shadow and filesimulation text files to simulate Unix Access Control and file system.
- Salt stores the username and the salt to be appended in password hashing.
- Password is hashed using md5 implementation by Frank Thilo's ([email protected]) and stored in shadow file.
- Records of files are stored in file simulation together with security clearance to simulate BLP model.
g++ -std=c++11 main.cpp md5.cpp -o FileSystem
./FileSystem -i
./FileSystem