允许匿名访问特定文件夹。 (letsencrypt) [英] Allow anonymous access to specific folder. (letsencrypt)

查看:116
本文介绍了允许匿名访问特定文件夹。 (letsencrypt)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

是否可以配置对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 folder to all the users in windows group, then all the users could access the folder.

并且您可以将您的uservoice提交到以下链接,TFS产品团队正在那里倾听您的声音:

And you could submit your uservoice to the following link, TFS Product Team is listening to your voice there:

https:// visualstudio。 uservoice.com/forums/330519-team-services

最好的问候

Limittiao Gao

Limitxiao Gao


这篇关于允许匿名访问特定文件夹。 (letsencrypt)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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