⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.web

📁 visual studio.net学习资料
💻 WEB
字号:
<configuration>

    <!-- store the database connection info here -->
    <appsettings>
        <add key="DSN" value="server=localhost;uid=sa;pwd=;database=Conf" />
    </appsettings>

    <!-- mark the web to use forms-based cookie authentication -->
    <security>
       <authentication mode="Cookie">              
          <cookie cookie=".ASPXAUTH" loginurl="Login.aspx" decryptionkey="autogenerate"> </cookie>
       </authentication>
    </security>
    
    <!-- TO DO: mark the Checkout.aspx page as available only to authorized users -->

    <!-- mark the OrderList.aspx page as available only to authorized users -->
    <location path="OrderList.aspx">
        <security>
            <authorization>
                <deny users="?" />
            </authorization>
        </security>
    </location>

    <!-- mark the OrderDetails.aspx page as available only to authorized users -->
    <location path="OrderDetails.aspx">
        <security>
            <authorization>
                <deny users="?" />
            </authorization>
        </security>
    </location>

</configuration>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -