欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-515)

单项选择题

You are creating an ASP.NET Web site. The site contains pages that are available to anonymous users. The site also contains a page named Premium.aspx that provides premium content to only members of a group named Subscribers. You need to modify the web.config file to ensure that Premium.aspx can be accessed by only members of the Subscribers group. Which configuration should you use?()

    A.<location path="Premium.aspx"> <system.web> <authorization> <allow users="Subscribers"/>            <deny users="*"/> </authorization> </system.web> </location> 
    B.<location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/>             <deny users="*"/> </authorization> </system.web> </location> 
    C.<location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/>             <deny users="?"/> </authorization> </system.web> </location> 
    D.<location path="Premium.aspx"> <system.web> <authorization> <deny users="*"/> <allow roles="Subscribers"/> </authorization> </system.web> </location>

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题