DEV Community

Cover image for Provide private storage for internal company documents
     Faith Aneke Ada
Faith Aneke Ada

Posted on

Provide private storage for internal company documents

The Importance of Private Storage in Organizations

Providing private storage for internal company documents in an organization is critical for security, compliance, and business continuity. Here’s why it matters:
1️⃣ Protection of Sensitive Information
2️⃣ Data Security
3️⃣ Access Control
4️⃣ Regulatory Compliance
5️⃣ Data Integrity
6️⃣ Business Continuity
7️⃣ Protecting Company Reputation

PROCEDURE

Create a Storage Account with High Availability

Objective:

Provision secure storage for internal company documents with geo-redundant replication to protect against regional outages.

Steps:

1.In the Azure portal, go to Storage accounts

Storage account

2.select + Create.

+ Create
3.Select an existing Resource group.

Resource Group

4.Set the storage account name to private (must be globally unique).

Storage Account Name

5.Select Review + Create, then Create.

Review + Create

6.After deployment, select Go to resource.

Go to resource

Configure Redundancy:

1.In the storage account, go to Data management → Redundancy.

Redundancy

2.Select Geo-redundant storage (GRS).

Geo-redundant storage

3.Review the primary and secondary region information.
4.Click Save.

Review region + save

2.Create a Private Container and Restrict Access

Objective:

Ensure corporate files are not publicly accessible.

Steps:

1.Go to Data storage → Containers.

Data storage

2.Select + Container.

Add container

3.Name the container private and click create.

container Private

4.Set Public access level to Private (no anonymous access).

change access level

5.Select OK
select Ok

Testing Access Restriction:

1.Select container created.

Select container

  1. Click upload to upload a test file to the container. Upload
  2. Select browse for file to select which file to upload and click upload upload file

4.Select the file and copy the URL from the Overview tab.
copy file URL

5.Paste the URL into a browser.
6.Confirm access is denied (authentication required).

access denied

3.Configure a Shared Access Signature (SAS)

Objective:

Provide temporary, restricted access to an external partner for 24 hours.

Steps:

1.Select the uploaded blob.
2.Navigate to the Generate SAS tab.

select the uploaded blob

3.Under Permissions, select Read only.
4.Set the Start time to now and Expiry time to 24 hours.
5.Select Generate SAS token and URL.
6.Copy the Blob SAS URL.

Generate SAS

Testing SAS Access:

1.Paste the SAS URL into a browser.
2.Confirm the file opens successfully.
3.Verify that access will expire after the specified time.

4.Implement Lifecycle Management (Move to Cool Tier)

Objective:

Reduce storage costs by automatically moving older blobs from the Hot tier to the Cool tier after 30 days.

Steps:

1.Return to the storage account.
2.Go to Data management → Lifecycle management.

lifecycle management

3.Select Add rule.

Add rule

4.Name the rule movetocool.
5.Apply the rule to All blobs in the storage account.

name rule

Under conditions:

•Select Last modified
•Set to More than 30 days ago
last modified to 30days

Under actions:

•Select Move to cool storage

move to cool
6.Click Add to save the rule.

save changes

5.Configure Object Replication (Backup Public Website)

Objective:

Back up public website content to the private storage account for redundancy and protection.

Steps:

1a.In the private storage account, create a new container by clicking Add container

new container

1b.Give it a name,example “backup” and select create.
backup container

2.Navigate to the publicwebsite storage account earlier or any other storage account already created that requires backup .

storage account to be backed up
3.Go to Data management → Object replication.

object replication

4.Select Create replication rule and Configure:
•Source container: public
•Destination storage account: private
•Destination container: backup
5.Select Create to create the replication rule.

create replication rule

Testing Replication:

1.Upload a file to the public container.
2.Wait a few minutes.
3.Refresh the backup container in the private storage account.
4.Confirm the file appears automatically.

Key Outcomes

• ✅ Geo-redundant storage ensures high availability during regional outages.
• ✅ Private containers prevent anonymous access to sensitive documents.
• ✅ SAS provides secure, time-bound delegated access.
• ✅ Lifecycle management optimizes storage costs automatically.
• ✅ Object replication provides asynchronous backup between storage accounts.

Top comments (0)