===== Security ===== Security is increasingly important. As PMA.core has been deployed in increasingly complex scenarios over the years, its security features have evolved, too. Security pertaining to root-directories is situated at two levels: * Security features that enable root-directories to access content, such as: * Configure public/secret key combinations for S3 resources * Configure account credentials to be used when accessing a UNC network resource path * Prevent [[user_management|users]] from access mounted content through root directories that they are or are not allowed to do * Define Access control lists The following paragraphs elaborate on these respective subjects: ==== Accessing secured content ==== Based on the type of data storage that a root directory's mounting point refers to, the configuration offers different options: * [[rootdir_local|Local hard disk entry points]] * [[rootdir_network|Network storage and UNC paths]] * [[rootdir_s3|S3 storage]] * [[rootdir_azure|Azure storage]] ==== Public vs private ==== As you have more [[user_management|users]] and more root-directories, it becomes undesirable that everybody is allowed to see everything. Therefore, root-directories can be marked "public" or "private": {{ :rootdir_public_private_switch.png?direct&200 |}} Public root directories are marked "public", it means every user has access to them. They can be accessed by anybody who is a registered user in [[user_management|the PMA.core user repository]]. Private root directories are marked "private", it means only select users can see the content. They are only accessible by those who have been explicitly given access to be allowed to access the folder through the directory's [[rootdir_security#access_control_list|access control list]]. ==== Access control lists ==== Once marked private, you can select what users are allowed to see the content of the root directory, and which ones aren't: Do this by pressing the "Edit access control list" link after you selected the "private" option: {{ :acl.png?nolink&400 |}} An interactive overview grid is available via the Root directories management view: {{ :rootdir_acl_20.png?direct&400 |}} As you get even more root-directories and more users, it is useful to get an overview of who has access to what. For that, you can request the ACL report from the root-directories view. {{ :overview.png?nolink&400 |}} The resulting report looks like this: {{ :overview2.png?nolink&400 |}}