DEV Community

Cover image for Provide private storage for internal company documents
Oluwanifesimi
Oluwanifesimi

Posted on

Provide private storage for internal company documents

Provide Private Storage for Internal Company Documents Using Microsoft Azure

Storing sensitive internal documents demands more than convenience—it requires robust security, scalability, and controlled access. Microsoft Azure offers a trusted, enterprise-grade solution through Storage Accounts, allowing businesses to securely store and manage internal content while maintaining full control over visibility and access.

This guide walks you through:

  • What a Storage Account is
  • Why it's perfect for private document storage
  • How to configure secure access
  • Tips for optimizing reliability and recovery

What Is a Storage Account in Azure?

A Storage Account in Azure is a centralized container for hosting all your data services. It enables access to:

  • Blob Storage – for unstructured data like PDFs, DOCX files, or scanned images
  • File Shares – for mounting storage across networked systems
  • Tables – for structured NoSQL data
  • Queues – for message-driven workflows
  • Disks – for VM-based systems

When creating a storage account, you define:

  • Region – geographic location for data residency
  • Performance Tier – Standard or Premium based on speed needs
  • Replication Strategy – LRS, GRS, ZRS to safeguard against outages
  • Security Configurations – including access policies, encryption, and firewalls

📦 Analogy:

Think of it as a digital safe with compartments—you control who opens it, how data is stored, and what logs are kept.

Benefits of Using Azure Storage for Private Documents

  • Fine-grained access control using Role-Based Access Control (RBAC)
  • Encryption at rest and in transit by default
  • Versioning and soft delete capabilities to safeguard against data loss
  • Integration with Active Directory for corporate identity management
  • Scalable with predictable cost models

Step-by-Step: Configure Secure Storage in Azure

1. Create a Secure Storage Account

  • Go to the Azure Portal
  • In the portal, search for and select Storage accounts. search/select
  • Select + Create.` select+
  • Select the Resource group created in the previous lab. previous
  • Set the Storage account name to private, Add an identifier to the name to ensure the name is unique, Select Review, and then Create the storage account. storage review/create create
  • Wait for the storage account to deploy, and then select Go to resource. deployemnet

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.

  • In the storage account, in the Data management section, select the Redundancy blade, Ensure Geo-redundant storage (GRS) is selected. redundancy
  • Refresh the page, Review the primary and secondary location information. review

Create a storage container, upload a file, and restrict access to the file.

1. Create a private storage container for the corporate data.

  • In the storage account, in the Data storage section, select the Containers blade, Select + Container. container
  • Ensure the Name of the container is private, Ensure the Public access level is Private (no anonymous access). As you have time, review the Advanced settings, but take the defaults,
  • Select Create. container

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.

  • Select the container. contain
  • Select Upload, select Browse to files and select a file. select upload
  • Upload the file. uploaded file
  • Select the uploaded file, On the Overview tab, copy the URL. copy url
  • Paste the URL into a new browser tab, Verify the file doesn’t display and you receive an error. url

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).

  • Select your uploaded blob file tab. select blob -move to the Generate SAS. generate SAS
  • 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. permission
  • Copy the Blob SAS URL to a new browser tab. copy blob url
  • 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. new browser

Configure storage access tiers and content replication.

1. To save on costs, after 30 days, move blobs from the hot tier to the cool tier.

  • Return to the storage account, In the Overview section, notice the Default access tier is set to Hot. tier
  • In the Data management section, select the Lifecycle management blade, Select Add rule. add rule
  • Set the Rule name to movetocool, Set the Rule scope to Apply rule to all blobs in the storage account, Select Next. movetocool
  • Ensure Last modified is selected, Set More than (days ago) to 30. last modified
  • In the Then drop-down select Move to cool storage. movetocool selection
  • As you have time, review other lifecycle options in the drop-down, Add the rule. lifecycle

2. The public website files need to be backed up to another storage account.

  • In your storage account, create a new container called backup. Use the default values. new backup
  • Navigate to your publicwebsite storage account, This was created in the previous article. public website
  • In the Data management section, select the Object replication blade, Select Create replication rules. replication
  • Set the Destination storage account to the private storage account. private
  • Set the Source container to public and the Destination container to backup, Create the replication rule. sources
  • Optionally, as you have time, upload a file to the public container. upload file
  • Return to the private storage account and refresh the backup container. private stor
  • Within a few minutes your public website file will appear in the backup folder. refresh

Final Thoughts

Microsoft Azure Storage lets you move beyond basic file sharing—into scalable, secure, and intelligent document management. Whether you're backing up policy documents, distributing sensitive reports, or collaborating with external partners, Azure gives you full control over privacy and performance.

Written by Oluwanifesimi

Top comments (0)