3.2.4 Add A Box Storage
In order to integrate Box with MetaDefender for Secure Storage please follow these steps:
-
From the left side menu, navigate to Storage units and from the Cloud Storage tab, choose Add Box Storage
-
Give your storage a name so you can easily find it later
-
Upload your Credentials file. Scroll down for more details.
-
Select the MetaDefender Core server that you wish to use.
-
Select Add in order to finish the process.
How can I generate a Public / Private key pair
To generate an file that contains all the necessary information to connect MetaDefender for Secure Storage to your Box storage please follow these steps:
-
Log in to Box and then go to Dev Console
-
From the console, choose Create New App
-
Select Custom App and click Next
-
Choose OAuth 2.0 with JWT (Server Authentication) as the authentication method and then click Next
-
Give your app a name, for example MetaDefender for Secure Storage and then click Create App
-
You will receive a message saying that your app has been successfully created. Click View Your App.
-
You will be redirected to the app Configuration page.
-
Scroll down to the Application Access section and choose Enterprise. This is necessary in order for MetaDefender for Secure Storage to be able to process files from all your Box users.
-
Scroll down to the Application Scopes section and make sure that the following permissions are checked:
-
Read all files and folders stored in Box
-
Read and write all files and folders stored in Box
-
Manage users
-
Manage groups
-
-
Next, please scroll down to the Advanced Features section and make sure that both Perform Actions as Users and Generate Users Access Tokens are enabled
-
Make sure you save your changes.
-
The next step will be to generate a Public/Private Keypair
Note: When performing this action you may be required to re-authenticate using a two-factor authentication method. If this happens, after re-authenticating, please go back and click Generate Public/Private Keypair again
-
A configuration file with all of your app settings will be downloaded. Please store it securely as you will need it a bit later
-
From the left-side menu, click General and then scroll down to App Authorization section
-
Click Submit for Authorization. From the popup that will appear, please make a copy of the Client ID
-
Click Submit
-
From the left-side menu, please navigate to My Apps and then choose Admin Console
-
Using the Admin Console left-side menu, navigate to Apps and then Custom Apps
-
Click Authorize New App and paste the previously copied Client ID and then click Next
-
Review the application permissions once again and then click Authorize
-
Almost done! All you need to do is go back to the MetaDefender for Secure Storage web interface and upload the Public/Private Keypair that you generated earlier in the Credentials field.