2.在子目录Admin文件夹的 web.config文件中有这样一段代码: <authorization> <deny users=”?”/> </authorization> 这说明()。A.只有管理员可以访问admin 目录B.所有匿名用户都可以访问admin目录C.所有匿名用户都不可以访问admin目录D.所有用户都不可以访问admin目录

2.在子目录Admin文件夹的 web.config文件中有这样一段代码: <authorization> <deny users=”?”/> </authorization> 这说明()。

A.只有管理员可以访问admin 目录

B.所有匿名用户都可以访问admin目录

C.所有匿名用户都不可以访问admin目录

D.所有用户都不可以访问admin目录


参考答案和解析
admin和manager

相关考题:

你正在部署一个公司的Internet Web站点。你需要拒绝匿名用户访问,并且只允许已验证的用户访问。你应该使用下面那个代码段?() A. authorization allow users=?/ /authorizationB. authorization deny users=?/ /authorizationC. authorization deny users=*//authorizationD. authorization allow users=*/ /authorization

你创建了一个管理项目文档的 intranet Web 站点。你需要所有用户都可以浏览站点的文档,但是只有 administrators 组的成员可以上传文档。你应该使用下面那个代码段来配置Web.config 文件?() A. allow verbs=GET users=* /deny verbs=POST users=* /allow verbs=POSTroles=Administrators /B. allow role s=Administrators /deny users=* /C. allow users=Administrators /allow users=* /D. allow verbs =POST roles=Administrators /deny verbs=POST users=* /allow verbs=GET users=* /

YouarecreatinganASP.NETWebsite.Thesitecontainspagesthatareavailabletoanonymoususers.ThesitealsocontainsapagenamedPremium.aspxthatprovidespremiumcontenttoonlymembersofagroupnamedSubscribers.Youneedtomodifytheweb.configfiletoensurethatPremium.aspxcanbeaccessedbyonlymembersoftheSubscribersgroup.Whichconfigurationshouldyouuse?()A.locationpath=Premium.aspxsystem.webauthorizationallowusers=Subscribers/denyusers=*//authorization/system.web/locationB.locationpath=Premium.aspxsystem.webauthorizationallowroles=Subscribers/denyusers=*//authorization/system.web/locationC.locationpath=Premium.aspxsystem.webauthorizationallowroles=Subscribers/denyusers=?//authorization/system.web/locationD.locationpath=Premium.aspxsystem.webauthorizationdenyusers=*/allowroles=Subscribers//authorization/system.web/location

You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use? ()A. allow verbs=GET users=* /deny verbs=POST users=* /allow verbs=POST roles=Administrators /B. allow roles=Administrators /deny users=* /C. allow u sers=Administrators /allow users=* /D. allow v erbs = POST roles=Administrators /deny verbs=POST users=* /allow verbs=GET users=* /

Web.config文件在ASP.NET网站中有什么作用?该文件的内容以什么格式存储的?

You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()A、authorization allow users="?"/ /authorizationB、authorization deny users="?"/ /authorizationC、authorization deny users="*"//authorizationD、authorization allow users="*"/ /authorization

在Windows2000中,在“我的文档”中一般含有()A、只有文件B、只有子目录C、有文件和子文件夹D、只有子文件夹

AAA是验证,授权和记帐(Authentication,Authorization,Accounting)的简称。()

在JAVA中,如何获得一个子目录下的文件和文件夹名称?() A、使用contentFiles函数B、使用dirFiles函数C、使用dir函数D、使用list函数,列出子目录下的所有文件和文件夹名称

You need to provide users in the research department access to different functions of the Web-based research application based on individual user roles. What should you do?()A、Use Windows directory service mapper and enable Microsoft .NET Passport authenticationB、Create authorization rules and scopes by using Authorization ManagerC、Use one-to-many client certificate mappingD、Define permissions by using access control lists (ACLs)

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: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.Initialize(); //Rest of the Page_Load code goes here}B、On each page in the Web site: void Page_Load(Object sender, EventArgs E){ FormsAuthentication.RedirectToLoginPage(“login.aspx”); //Rest of the Page_Load code goes here}C、On each page in the Web site: void Page_Load(Object sender, EventArgs E){ Response.Redirect(“login.aspx”);//Rest of the Page_Load code goes here}D、In the Web.config file: authentication mode=”Forms” forms name=”.ASPXUSERDEMO” loginUrl=”login.aspx” protection=”All”timeout=”60” / /authentication

You are configuring a Windows Server 2008 R2 Hyper-V server. You need to audit changes to Hyper-V roles and authorization rights. Which file should you audit?()A、AzMan.mscB、Initial Store.xmlC、machine.configD、Web.config

You need to recommend a strategy for delegating administrative rights to Admin1. The strategy must support the company’s planned changes.What should you include in the recommendation?()A、the Authorization Manager snap-in on Node1 and Node2B、the Authorization Manager snap-in on the VMsC、the Network Configuration Operators local group on each VMD、the Network Configuration Operators local group on Node1 and Node2

You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use? ()A、allow verbs="GET" users="*" /deny verbs="POST" users="*" /allow verbs="POST" roles="Administrators" /B、allow role s="Administrators" /deny users="*" /C、allow u sers="Administrators" /allow users="*" /D、allow v erbs = "POST" roles="Administrators" /deny verbs="POST" users="*" /allow verbs="GET" users="*" /

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

你正在部署一个公司的Internet Web站点。你需要拒绝匿名用户访问,并且只允许已验证的用户访问。你应该使用下面那个代码段?()A、authorization allow users="?"/ /authorizationB、authorization deny users="?"/ /authorizationC、authorization deny users="*"//authorizationD、authorization allow users="*"/ /authorization

You have a server that runs Windows Server 2008. The server has the Terminal Services Gateway (TS Gateway) role service installed.  You need to provide a security group access to the TS Gateway server. What should you do?()A、Add the security group to the Remote Desktop Users group.B、Add the security group to the TS Web Access Computers group.C、Create and configure a Resource Authorization Policy.D、Create and configure a Connection Authorization Policy.

在站点中设置的文件夹中“admin”一般是用来放置()。

单选题You need to recommend a strategy for delegating administrative rights to Admin1. The strategy must support the company’s planned changes.What should you include in the recommendation?()Athe Authorization Manager snap-in on Node1 and Node2Bthe Authorization Manager snap-in on the VMsCthe Network Configuration Operators local group on each VMDthe Network Configuration Operators local group on Node1 and Node2

单选题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? ()AIn 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 SubBOn 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 SubCOn 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 SubDIn the Web.config file: authentication mode=Forms forms name=.ASPXUSERDEMO loginUrl=login.aspx protection=All timeout=60 //authentication

单选题在Windows2000中,在“我的文档”中一般含有()A只有文件B只有子目录C有文件和子文件夹D只有子文件夹

多选题你正在创建一个订单输入应用程序。你设置Ordraspx页为起始页。你希望用户提供一个用户名和密码才能够登陆Order.aspx页。你创建一个Login.aspx页来验证用户的名字和密码。你想确保用户在允许使用Order0aspx页之前要使用Login.aspx页登陆。你该用哪两个步骤?()A在Weconfig文件的authentication节中,设置authentication元素的mode属性为Forms,设置Forms元素的name属性为Login.aspxB在Machinconfig文件的credentials节中,设置deny元素的users属性为*C在Machinconfig文件的authorization节中,设置authentication元素的mode属性为Forms,设置trust元素的policyFile属性为Login.aspxD在Orders.aspx创建页面指令以登陆Login.aspx页E在Weconfig文件的authentication节中,设置authentication元素的mode属性为Forms,设置Forms元素的loginUrl属性为Login.aspx(正确答案)F在Weconfig文件的authorization节中,设置deny元素的users属性为?(正确答案)

单选题You need to recommend an RD Gateway configuration that meets the company’s technical requirements.   What should you recommend?()ACreate two Remote Desktop connection authorization policies (RD CAPs) and one Remote Desktop resource authorization policy (RD RAP).BCreate one Remote Desktop connection authorization policy(RD CAP)and two Remote Desktop  resource authorization policies (RD RAPs).CCreate one Remote Desktop resource authorization policy(RD RAP)and deploy the Remote Desktop Connection Broker(RD Connection Broker) role service.DCreate one Remote Desktop connection authorization policy(RD CAP) and deploy the Remote  Desktop Connection Broker (RD Connection Broker) role service.

多选题你正在配置你的ASP.NET应用程序的安全。你的页面文件夹定位的层次如下所示。你要允许所有的用户都能访问Products文件夹和Orders文件夹中的页面。你要允许会计角色的所有成员都能访问位于Accounting文件夹下的页面。哪两个可能的方法能够实现这一目标?()A在Global.asax文件中添加代码以动态的配置Accounting文件夹的访问B在位于Products文件夹的Weconfig文件中为所有的角色放置authorization设置。在Weconfig文件中使用location标记设置除了Accounting角色外禁止对Accounting文件夹的访问。C在位于Products文件夹的Weconfig文件中为所有的角色放置authorization设置。在Accounting文件夹下的Weconfig文件中只允许具有Accounting角色的用户访问。D为应用程序在Machinconfig文件中创建两个custom角色。配置一个角色给所有用户,一个角色给Accounting用户。除了Accounting角色外禁止所有的用户访问Accounting文件夹。

单选题You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()Aauthorization allow users=?/ /authorizationBauthorization deny users=?/ /authorizationCauthorization deny users=*//authorizationDauthorization allow users=*/ /authorization

单选题你正在部署一个公司的Internet Web站点。你需要拒绝匿名用户访问,并且只允许已验证的用户访问。你应该使用下面那个代码段?()Aauthorization allow users=?/ /authorizationBauthorization deny users=?/ /authorizationCauthorization deny users=*//authorizationDauthorization allow users=*/ /authorization

单选题你创建了一个管理项目文档的 intranet Web 站点。你需要所有用户都可以浏览站点的文档,但是只有 administrators 组的成员可以上传文档。你应该使用下面那个代码段来配置Web.config 文件?()Aallow verbs=GET users=* /deny verbs=POST users=* /allow verbs=POSTroles=Administrators /Ballow role s=Administrators /deny users=* /Callow users=Administrators /allow users=* /Dallow verbs =POST roles=Administrators /deny verbs=POST users=* /allow verbs=GET users=* /

单选题When an employee stops working in the company, all of the following should be done EXCEPT _____.Aa termination notice should be issued by the personnel departmentBa copy of the termination authorization should be given to the employee personallyCa copy of the termination authorization should be sent to the employee’s supervisorDa copy of the termination authorization should be delivered to the payroll register