Web应用程序FTP设置仅访问域的特定子目录 [英] Web app FTP setup to only access a specific sub-directory of a domain

查看:88
本文介绍了Web应用程序FTP设置仅访问域的特定子目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试在Azure上设计一个解决方案,以使不同的FTP帐户访问同一Web应用程序中域的子目录.有没有一种方法可以将FTP帐户设置为可以访问子域,例如下面的示例?

I'm currently trying to architect a solution on Azure to have different FTP accounts accessing a sub-directory of a domain within the same web app. Is there a way to set up FTP accounts to have access to sub-domains like the example below?

域-example.com

domain - example.com

  1. FTP帐户-testuser1访问example.com/testuser1
  2. FTP帐户-testuser2访问example.com/testuser2
  3. FTP帐户-testuser3访问example.com/testuser1 /testuser3

如果不可能,是否还有其他解决方案,例如使用多个Web应用程序?我还尝试研究了新的Azure静态网站,似乎没有这样的解决方案.

If it's not possible, is there an alternative solution such as using multiple web apps instead? I also tried looking into the new Azure static websites and there doesn't seem to be a solution like this.

推荐答案

是否已将网站部署到Azure Web应用程序还是Azure云服务?

如果您指的是Azure Web Apps,此功能不可用.你可以离开你的 反馈 并对此功能进行投票.

If you are referring to Azure Web Apps, this feature is not available. You may leave your feedback and upvote for this feature.

是,您还可以创建多个Web应用并向特定用户授予访问权限.

每个站点确实具有用于FTP访问的其他用户名/密码.您需要转到特定网站的信息中心,然后点击 获取发布个人资料"去下载.您启动的每个网站都会为访问生成不同的凭据.

Each site does have a different username/password for FTP access. You need to go the specific website's dashboard and click on the "Get publish profile" to download. Each website you spin up will have different credentials generated for access.

用于连接通过FTP的Azure Web Apps,请参阅 博客文章.

For connecting Azure Web Apps via FTP, refer to this blog post.


这篇关于Web应用程序FTP设置仅访问域的特定子目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆