Preventing file access in Azure storage account using archive tier

Bathini Harshitha 340 Reputation points
2024-10-03T09:13:08.4466667+00:00

How can I prevent access to a specific file in an Azure storage account while keeping access to other files and containers?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,940 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,106 Reputation points Microsoft Employee
    2024-11-06T13:33:01.4733333+00:00

    You can prevent access to a specific file in your Azure storage account by changing its tier to the archive tier. This method ensures that the file cannot be read or modified without affecting access to other files and containers. Follow these steps to change the tier to archive for a single file:

    1. Go to the Azure portal and open the storage account containing the file.
    2. Find the specific blob you want to restrict.
    3. Set the access tier of the blob to "Archive."

    Note that data in the archive tier should be stored for at least 180 days. If you move a blob to the archive tier and then delete it or move it to the hot tier within 45 days, an early deletion fee equivalent to 135 days (180 minus 45) will be charged.

    For bulk archiving at the container level, use the Azure Lifecycle Management feature, which lets you define policies for efficient data management across containers.

    Resources:

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    Please do not forget to "Accept the answer" and "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.