A password is a word or string of characters used for user authentication to prove identity or access approval to gain access to a resource, which is to be kept secret.
So Passwords ensure the security and confidentiality of data that is stored on various computers.
What is Access privilege?
The system should only allow access to files that the user is permitted to access.
So that these systems control the ability of the users to view, change, navigate, and execute the contents of the file system.