This project demonstrates management of privileges on the base of binary numbers. The privileges are binary masked into a long value so that the privileges of a user are represented by a single long value that can be written into a database (as a column of a user table).