You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/anonymous-read-access-prevent.md
-50Lines changed: 0 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -382,56 +382,6 @@ end {
382
382
}
383
383
```
384
384
385
-
## Verify that anonymous access has been remediated
386
-
387
-
To verify that you've remediated anonymous access for a storage account, you can test that anonymous access to a blob isn't permitted, that modifying a container's access setting isn't permitted, and that it's not possible to create a container with anonymous access enabled.
388
-
389
-
### Verify that anonymous access to a blob isn't permitted
390
-
391
-
To verify that anonymous access to a specific blob is disallowed, you can attempt to download the blob via its URL. If the download succeeds, then the blob is still publicly available. If the blob isn't publicly accessible because anonymous access has been disallowed for the storage account, then you'll see an error message indicating that anonymous access isn't permitted on this storage account.
392
-
393
-
The following example shows how to use PowerShell to attempt to download a blob via its URL. Remember to replace the placeholder values in brackets with your own values:
### Verify that modifying the container's access setting isn't permitted
402
-
403
-
To verify that a container's access setting can't be modified after anonymous access is disallowed for the storage account, you can attempt to modify the setting. Changing the container's access setting fails if anonymous access is disallowed for the storage account.
404
-
405
-
The following example shows how to use PowerShell to attempt to change a container's access setting. Remember to replace the placeholder values in brackets with your own values:
### Verify that a container can't be created with anonymous access enabled
419
-
420
-
If anonymous access is disallowed for the storage account, then you won't be able to create a new container with anonymous access enabled. To verify, you can attempt to create a container with anonymous access enabled.
421
-
422
-
The following example shows how to use PowerShell to attempt to create a container with anonymous access enabled. Remember to replace the placeholder values in brackets with your own values:
### Check the anonymous access setting for multiple accounts
436
386
437
387
To check the anonymous access setting across a set of storage accounts with optimal performance, you can use the Azure Resource Graph Explorer in the Azure portal. To learn more about using the Resource Graph Explorer, see [Quickstart: Run your first Resource Graph query using Azure Resource Graph Explorer](../../governance/resource-graph/first-query-portal.md).
Copy file name to clipboardExpand all lines: articles/storage/common/shared-key-authorization-prevent.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -319,16 +319,6 @@ az storage account show \
319
319
320
320
The command returns **false** if Shared Key authorization is disallowed for the storage account.
321
321
322
-
You can further verify by attempting to call a data operation with the account access key. The following example attempts to create a container using the access key. This call will fail when Shared Key authorization is disallowed for the storage account. Replace the placeholder values in brackets with your own values:
323
-
324
-
```azurecli-interactive
325
-
az storage container create \
326
-
--account-name <storage-account-name> \
327
-
--name sample-container \
328
-
--account-key <key> \
329
-
--auth-mode key
330
-
```
331
-
332
322
> [!NOTE]
333
323
> Anonymous requests are not authorized and will proceed if you have configured the storage account and container for anonymous read access. For more information, see [Configure anonymous read access for containers and blobs](../blobs/anonymous-read-access-configure.md).
Copy file name to clipboardExpand all lines: includes/storage-dev-guides/storage-dev-guide-stored-access-policy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: storage
5
5
author: pauljewellmsft
6
6
ms.service: azure-blob-storage
7
7
ms.topic: include
8
-
ms.date: 05/22/2023
8
+
ms.date: 05/10/2024
9
9
ms.author: pauljewell
10
10
ms.custom: include file
11
11
---
@@ -35,9 +35,9 @@ You can also modify an existing policy. The following code example shows how to
35
35
36
36
### Revoke or delete a stored access policy
37
37
38
-
To revoke a stored access policy, you can delete it, rename it by changing the signed identifier, or change the expiry time to a value in the past. Changing the signed identifier breaks the associations between any existing signatures and the stored access policy. Changing the expiry time to a value in the past causes any associated signatures to expire. Deleting or modifying the stored access policy immediately affects all of the shared access signatures associated with it.
38
+
To revoke a stored access policy, Microsoft recommends deleting the signed identifier and making a new one. Changing the signed identifier breaks the associations between any existing signatures and the stored access policy. Deleting or modifying the stored access policy immediately affects all of the shared access signatures associated with it.
39
39
40
-
The following code example shows how to revoke a policy by changing the `Id` property for the signed identifier:
40
+
The following code example shows how to revoke a policy by changing the `Id` property for the signed identifier. This approach effectively deletes the signed identifier and makes a new one:
0 commit comments