当前位置:MCTS(70-528)题库

问题:

[单选] You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use? ()

A . In the Web.config file: <authorization> <deny users="?" /></authorization> On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication.Initialize() End Sub
B . On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load FormsAuthentication RedirectToLoginPage("login.aspx") End Sub
C . On each page in the Web site: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles Me.Load Response.Redirect("login.aspx") End Sub
D . In the Web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /></authentication>

短行程单相交流制动电磁铁的周围环境温度不许超过() 33℃。 32℃。 35℃。 30℃。 管理是一项有序化的、经常性过程,其最重要的职能之一就是()。 You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.[ServiceContract]public interface IOrderProcessing { [OperationContract] void ApproveOrder(int id);}You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?() In the method body, check the Rights PosessesProperty property to see if it contains Manager。 Add a PrincipalPermission attribute to the method and set the Roles property to Manager。 Add a SecurityPermission attribute to the method and set the SecurityAction to Demand。 In the method body, create a new instance of WindowsClaimSet. Use the FindClaims method to locate a claimType named Role with a right named Manager。 最早提出“创作方法”这一概念的是() 歌德。 库尔贝。 “拉普派”作家。 席勒。 在中国目前的社会转型中,下列说法正确的是() 社会的犯罪手段没有变化。 犯罪主体低龄化现象减少。 女性犯罪率下降。 犯罪手段技术化、智能化。 You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested. Which code segment should you use? ()
参考答案:

  参考解析

本题暂无解析

在线 客服