DEV Community

Cover image for Steps to Provide private storage for internal company documents
adegbola adeniyi
adegbola adeniyi

Posted on

Steps to Provide private storage for internal company documents

Introduction

Securing internal company documents is a cornerstone of modern business operations. With sensitive information such as financial records, employee data, and strategic plans at stake, organizations must ensure that storage solutions are both private and compliant. Microsoft Azure offers a robust platform for building secure, scalable, and controlled environments where internal documents can be stored and accessed safely. By following structured steps—ranging from setting up private storage accounts to configuring access policies and encryption—companies can create a reliable system that protects critical data while enabling authorized collaboration.

This article outlines the essential steps to establish private storage for internal documents on Azure, helping businesses strengthen their information security posture and meet regulatory requirements with confidence.

1. Create a storage account and configure high availability.
Step 1
Create a storage account for the internal private company documents.
AZ
In the portal, search for and select Storage accounts.
AZ
Select + Create.
AZ
Select the Resource group created in the previous lab. Set the Storage account name to private. Add an identifier to the name to ensure the name is unique. Select Review.
AZ
Then Create the storage account.
AZ
Wait for the storage account to deploy, and then select Go to resource.

Step 2
This storage requires high availability if there’s a regional outage. Read access in the secondary region is not required. Configure the appropriate level of redundancy.
AZ
In the storage account, in the Data management section, select the Redundancy blade. Ensure Geo-redundant storage (GRS) is selected. Refresh the page. Review the primary and secondary location information. Save your changes.

2. Create a storage container, upload a file, and restrict access to the file.
Step 1
Create a private storage container for the corporate data.
AZ
In the storage account, in the Data storage section, select the Containers blade. Select + Container. Ensure the Name of the container is e.g. privatect06. Ensure the Public access level **is **Private (no anonymous access). As you have time, review the Advanced settings, but take the defaults. Select Create.

Step 2
For testing, upload a file to the private container. he type of file doesn’t matter. A small image or text file is a good choice. Test to ensure the file isn’t publically accessible.
Azure
Select the container.
AZ
Select Upload. Browse to files and select a file.
AZ
Upload the file.
AZ
Select the uploaded file. On the Overview tab, copy the URL. Paste the URL into a new browser tab. Verify the file doesn’t display and you receive an error.

Step 3
An external partner requires read and write access to the file for at least the next 24 hours. Configure and test a shared access signature (SAS).
AZ
Select your uploaded blob file and move to the Generate SAS tab.
AZ
In the Permissions drop-down, ensure the partner has only Read permissions. Verify the Start and expiry date/time is for the next 24 hours. Select Generate SAS token and URL.
AZ
Copy the Blob SAS URL to a new browser tab. Verify you can access the file. If you have uploaded an image file it will display in the browser. Other file types will be downloaded.

3. Configure storage access tiers and content replication.
Step 1
To save on costs, after 30 days, move blobs from the hot tier to the cool tier.
AZ
Return to the storage account.
AZ
In the Overview section, notice the Default access tier is set to Hot.
AZ
In the Data management section, select the Lifecycle management blade. Select Add rule.
AZ
Set the Rule name to movetocool. Set the Rule scope to Apply rule to all blobs in the storage account. Select Next.
AZ
Ensure Last modified is selected. Set More than (days ago) to 30. In the Then drop-down select Move to cool storage. As you have time, review other lifecycle options in the drop-down. Add the rule.

Step 2
The public website files need to be backed up to another storage account.
AZ
In your storage account, create a new container called backup. Use the default values. Refer back to Lab 02a if you need detailed instructions.
AZ
Navigate to your publicwebsite (you could create a new one or any previous storage created before) storage account. In the Data management section, select the Object replication blade. Select Create replication rules.
AZ
Set the Destination storage account to the private storage account. Set the Source container to public and the Destination container to backup. Create the replication rule. Optionally, as you have time, upload a file to the public container. Return to the private storage account and refresh the backup container. Within a few minutes your public website file will appear in the backup folder.

Conclusion

Establishing private storage for internal company documents on Azure is more than a technical exercise—it is a strategic investment in organizational security and resilience. By carefully configuring storage accounts, enforcing encryption, applying role-based access controls, and leveraging private endpoints, businesses can create a secure environment that protects sensitive information from unauthorized access. Beyond compliance, this approach fosters trust among employees and stakeholders, ensuring that critical data remains both accessible and safeguarded. As companies continue to embrace digital transformation, Azure’s private storage solutions provide a scalable and reliable foundation for managing internal documents with confidence and peace of mind.

Top comments (0)