# Directory Privacy Directory Management / Directory Privacy ## Add authorized user for protected directory - [GET /DirectoryPrivacy/add_user](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/add_user.md): This function adds a user who can access a protected directory on the cPanel account. ## Enable or disable protected directory - [GET /DirectoryPrivacy/configure_directory_protection](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/configure_directory_protection.md): This function enables or disables password protection for a directory on the cPanel account. ## Delete authorized user for protected directory - [GET /DirectoryPrivacy/delete_user](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/delete_user.md): This function deletes a user who can access a protected directory on the cPanel account. ## Return whether directory uses password protection - [GET /DirectoryPrivacy/is_directory_protected](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/is_directory_protected.md): This function confirms whether a directory uses password protection. ## Return privacy status of subdirectories - [GET /DirectoryPrivacy/list_directories](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/directoryprivacy-list_directories.md): This function returns the privacy status of the subdirectories in a directory. ## Return authorized users for protected directory - [GET /DirectoryPrivacy/list_users](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-privacy/directoryprivacy::list_users.md): This function returns the users who can access a password-protected directory on the cPanel account.