简体   繁体   English

Azure 和 ftp 中的 App Service 文件夹访问

[英]App Service folder access in Azure with ftp

I have an app Service in Azure that contains folders and files.我在 Azure 中有一个包含文件夹和文件的应用程序服务。

Via FileZilla I can reach the file structure.通过 FileZilla 我可以到达文件结构。 I have a 3rd party vendor that needs to upload files to a specific folder.我有一个需要将文件上传到特定文件夹的第 3 方供应商。

I can create an ftp with access to all content on the app service.我可以创建一个 ftp 来访问应用服务上的所有内容。 But is it possible to limit the users access to only one folder or a specific drive that my app service can reach?但是是否可以限制用户只能访问我的应用程序服务可以访问的一个文件夹或特定驱动器? Ideally a subfolder under wwwroot\content.最好是 wwwroot\content 下的子文件夹。

You can mount file share from Azure Storage to AppService via mapping and let the users access only files via File Shares not App Service.您可以通过映射将文件共享从 Azure 存储挂载到应用服务,并让用户仅通过文件共享而不是应用服务访问文件。

if your service plan is linux, you can log via ssh and set file/folder permissions manually.如果您的服务计划是 linux,您可以通过 ssh 登录并手动设置文件/文件夹权限。

But remember, the day when you make a new deploy/update in your application hosted on a cloud server, you probably will lose your files.但请记住,当您在托管在云服务器上的应用程序中进行新部署/更新的那一天,您可能会丢失文件。 You need to use a separated environment for acess/management of storage, that will be independent where you application is hosted and running.您需要使用一个单独的环境来访问/管理存储,这将独立于您的应用程序的托管和运行位置。

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

相关问题 Azure 应用服务未反映 ftp 的文件更改 - Azure App Service not reflecting file changes from ftp 无法使用 App Service 上的 Azure MSI 访问 Key Vault - Unable to get access to Key Vault using Azure MSI on App Service 尝试使用 azure 函数中的用户分配身份访问我们的应用程序服务 api - Trying to access our app service api with a user assigned identity in azure functions 将带有wsHttpBinding的WCF服务迁移到Azure应用服务 - Migrating WCF service with wsHttpBinding to Azure App Service Azure 服务委托人访问多订阅 AD 帐户中的 App Insight 数据所需的权限 - Permissions required by Azure Service Principal to access App Insight data in a multi subscriptions AD Account 使用托管标识从 Azure 应用服务访问 CosmosDB 数据(失败) - Access CosmosDB Data from Azure App Service by using managed identity (Failed) 在 Azure 应用服务中设置暂存环境 - Set up staging environments in Azure App Service Azure 应用服务 linux 忽略自定义命令 - Azure app service linux custom command ignored Azure Service App 中未定义环境变量 - Environment Variables are undefined in Azure Service App 如何从 Azure 管道中的 Azure 应用服务获取价值 - How to get value from Azure App Service from Azure pipeline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM