Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ross 16 posts 107 karma points
    Nov 29, 2024 @ 10:19
    Ross
    0

    Umbraco Azure blob storage - unable to use private blob containers

    Hi,

    We have a few Umbraco installations running versions 9 - 12, hosted in Azure app services.

    All are using Azure blob storage and we would like to lock down access to these blob containers.

    Configuration is as specified here https://docs.umbraco.com/umbraco-cms/extending/filesystemproviders/azure-blob-storage#configuring-blob-storage.

    When set to private, we get:

    Azure.RequestFailedException: Service request failed.

    Status: 403 (This request is not authorized to perform this operation.) ErrorCode: AuthorizationFailure

    "RequestPath": "/media/mexpycs1/kcc.jpg",

    Is there any way Umbraco could work with private blob containers?

  • Damian 77 posts 400 karma points
    Dec 10, 2024 @ 22:50
    Damian
    0

    yes! The issue strikes me as an Azure configuration. I don't have a project immediately available to confirm at the moment - but i recall there being option to allow/permit your private network to access the blob. I'd start on the blob config on the Azure side.

    Hopefully this might help? It's sparce on details i know! It's also been a week and you may have it figured out already (share for others!) but if not - i'll see a response and take a peek at the azure settings when I'm in there next.

  • Piotr Bach 18 posts 138 karma points c-trib
    Dec 14, 2024 @ 22:46
    Piotr Bach
    0

    Hi Ross, Private blob containers worked with version 8. I wrote about it here: https://umbracare.net/blog/integrating-umbraco-with-azure-private-blob-storage/ Maybe you will find some helpful information/directions there.

  • Ross 16 posts 107 karma points
    Dec 16, 2024 @ 11:54
    Ross
    0

    Thanks for you reply and work Piotr, I came across your post while researching this.

    I was wondering if there was a way to configure Umbraco out out the box to support this.

    It seemed like this was possible in versions prior to V9 (it's mentioned in the readme https://github.com/umbraco-community/UmbracoFileSystemProviders.Azure/tree/v3.1.0)

    It's got no mention here though https://github.com/umbraco/Umbraco.StorageProviders (versions V9 & up)

    nor does the below setting:

    <add key="AzureBlobFileSystem.UsePrivateContainer:media" value="false" />
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies