Skip to main content

Privacera Documentation

File Explorer overview

Using the File Explorer, you can browse object resources (buckets, files and folders) in AWS, ADLS and GCS. You can upload and retrieve the data to and from the bucket. With resource policies you associate with the bucket, you can control access by granting or revoking permissions for users, groups, or roles.

Prerequisites
  • Be sure you have added the Dataserver data resource

Configure resource policy

After the Dataserver is added, configure the default policy to add an Allow Condition as follows:

For general steps, see Create resource policies: general steps.

View files and folders using the File Explorer

To view the list of files and folders of an S3 bucket, do the following:

  1. Navigate to Data Inventory > File Explorer.

    Since the policy is enabled, all the S3 buckets are displayed on the File Explorer page.

  2. On the File Explorer page, you can do the following actions:

    Action

    Description

    Refresh

    Refreshes the S3 buckets

    Search

    Allows to search for a particular bucket

    Filter

    Hides or shows columns

    Create Folder

    Allows to create a folder

    Upload

    Allows to upload a file. You can upload all those files formats that are supported by AWS S3.

    Delete

    Allows to delete file(s) or folder(s)

    Calculate

    Calculates folder size

    Copy to Clipboard

    Copies the object path

Use case: AWS S3

By managing the permissions in the policy, you can provide access control on the S3 bucket. In this use case, you will see how you can allow/restrict a user from uploading files to a S3 bucket, and view the activity in an audit log.

  1. Create a policy with Read and Write permissions.

  2. Upload a file by performing the following steps:

    1. Navigate to Data Inventory > File Explorer.

    2. Go to the S3 bucket where you want to upload the file.

    3. Click Upload.

      Add File popup is displayed.

    4. Choose the file to upload and click Upload button.

      The file is uploaded with a success message and seen in the listing.

    5. Navigate to Access Manager > Audits to view the audit log for the upload action.

  3. Edit the policy and remove the Write permission.

  4. Upload a file by performing the following steps:

    1. Navigate to Data Inventory > File Explorer.

    2. Go to the S3 bucket where you want to upload the file.

    3. Click Upload, Add File popup is displayed.

    4. Choose the file to upload and click Upload button.

      "Access Denied" error message is displayed.

    5. Navigate to Access Manager > Audits to view the audit log for the denied upload action.