简体   繁体   English

通过VNet访问Azure文件存储

[英]Access to Azure File Storage via VNet

I faced with follow problem hope I can find the way for solving with your help. 我面临以下问题,希望我能在您的帮助下找到解决的方法。 I created follow Azure resources: 我创建了以下Azure资源:

  1. WebApp Service (Asp.Net Core web application) WebApp服务(Asp.Net Core Web应用程序)
  2. FileStorage FileStorage
  3. VirtualNetwork VirtualNetwork

All resources created in one resources group. 在一个资源组中创建的所有资源。 I trying to upload file from my WebApp to File storage via VNet (I need to secure storage so it must be unaccessable from outside internet). 我试图通过VNet将文件从WebApp上载到文件存储(我需要保护存储,因此必须无法从外部Internet访问)。

Virtual Network have subnet, wich have setup a Microsoft.Storage - Service endpoints. 虚拟网络具有子网,其中已经设置了Microsoft.Storage-服务端点。 This sub net is included In Storage firewall settings. 此子网包含在“存储防火墙”设置中。

For work with Azure storage I use Microsoft.WindowsAzure.Storage package. 为了使用Azure存储,我使用Microsoft.WindowsAzure.Storage程序包。 When I trying to get access to storage from webapp I get 403 error. 当我尝试从webapp访问存储时,出现403错误。 For access I use 'primary file service endpoint' - https://myaccount.file.core.windows.net/ 对于访问,我使用“主文件服务端点” https://myaccount.file.core.windows.net/

What I have missed ? 我错过了什么?

Thnx for any advice ! 谢谢任何建议!

Azure File shares can't be accessed from Azure App Service web apps. 无法从Azure App Service Web应用程序访问Azure文件共享。 Refer this feedback item where the feature was declined. 请在功能被拒绝的地方参考此反馈项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM