您好。
是否可以配置对TFS网站中特定文件夹的匿名访问?
Is it possible to configure a anonymous acces to a specific folder in TFS website?
我需要访问文件夹.well-known\针对"让我们加密"的极端挑战SSL证书生成。
I need this acess to folder .well-known\acme-challenge for "let's encrypt" SSL certificate generation.
我尝试在IIS部分(IIS管理器)的Authentification模块中为两个文件夹启用匿名身份验证,并将此web.config文件放在.well-knwon文件夹中:
I tried to enable Anonymous Authentication for both folder in the Authentification module in IIS section (IIS manager) and put this web.config file in the .well-knwon folder:
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <!-- This will stop any redirects you have at the higher level --> <httpRedirect enabled="false" /> </system.webServer> <!-- This will allow unauthenticated users to acme-challenge subfolder --> <location path="acme-challenge"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> </configuration>始终显示凭证对话框请求。
It always and up with credential dialog request to appear.
任何想法?
推荐答案
你好Azetoth,
Hi Azetoth,
谢谢你在这里发布。
现在没有这样的功能可以将匿名身份验证应用于TFS中的特定文件夹。连接到TFS时,需要输入帐户/密码。要解决此问题,您可以尝试向windows 组中的所有用户授予该文件夹的权限,然后所有用户都可以访问该文件夹。
There is no such feature to apply Anonymous Authentication to specific folder in TFS now. When you connect to TFS, you need to type in the account/password. As a workaround, you could try to grant permission of the folderto all the usersin windows group, then all the users could access thefolder.
并且您可以将您的uservoice提交到以下链接,TFS产品团队正在那里倾听您的声音:
Andyou could submit your uservoice to the following link, TFS Product Team is listening to your voice there:
https:// visualstudio。 uservoice/forums/330519-team-services
最好的问候
Limittiao Gao
Limitxiao Gao
更多推荐
允许匿名访问特定文件夹。 (letsencrypt)
发布评论