将应用程序内的文件夹配置为IIS中的另一个应用程序

将应用程序内的文件夹配置为IIS中的另一个应用程序,iis,authentication,Iis,Authentication,嗨 我的主应用程序使用windows身份验证,我将其配置为 IIS中的“集成windows身份验证”和“基本身份验证” 我还有一个文件夹“register”,我也将其配置为应用程序,并将属性设置为:“enable Anonymous access”和“integrated windows authentication” 我在注册文件夹中放置了另一个web配置,并将身份验证设置为表单: <?xml version="1.0"?> <configuration> &

我的主应用程序使用windows身份验证,我将其配置为 IIS中的“集成windows身份验证”和“基本身份验证”

我还有一个文件夹“register”,我也将其配置为应用程序,并将属性设置为:“enable Anonymous access”和“integrated windows authentication”

我在注册文件夹中放置了另一个web配置,并将身份验证设置为表单:

<?xml version="1.0"?>

<configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
      <authentication mode="Forms"/>
    </system.web>
</configuration>

所以现在当我去我的网站/注册时,它仍然会询问我的用户名和密码,但当我取消时,它会显示注册表。。。那很好。但是我如何让它不弹出用户名/密码窗口呢