题目内容 (请给出正确答案)
[主观题]

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.

config file contains the definition for the membership provider. After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file. You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords. Which code logic should you use?()

A. Add a PasswordRecovery element to the PasswordReset.aspx file and configure it.

B. Modify the Page_Load to set the Membership.EnablePasswordReset to True in the PasswordReset.aspx file.

C. Add a ChangePassword element to the PasswordReset.aspx file and configure it.

D. Modify the Login.aspx form to include a Required Field validator on the secret question answer text box. Then redirect users to the PasswordReset.aspx file.

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“You are using the ASP.NET memb…”相关的问题

第1题

YouareusingtheASP.NETmembershipAPIstomanageuseraccountsforaWebsite.TheWeb.
configfilecontainsthedefinitionforthemembershipprovider.AftermodifyingtheWeb.configfiletoenablepasswordrecovery,youcreateaPasswordReset.aspxfile.?Youneedtoenableuserstoresettheirpasswordsonline.Thenewpasswordsmustbesenttothembye-mailaftertheyhaveloggedonthroughtheLogin.aspxpage.Inaddition,usersmustberequiredtoanswertheirsecretquestionsbeforeresettingtheirpasswords.Whichcodelogicshouldyouuse?()A.AddaPasswordRecoveryelementtothePasswordReset.aspxfileandconfigureit.B.ModifythePage_LoadtosettheMembership.EnablePasswordResettoTrueinthePasswordReset.aspxfile.C.AddaChangePasswordelementtothePasswordReset.aspxfileandconfigureit.D.ModifytheLogin.aspxformtoincludeaRequiredFieldvalidatoronthesecretquestionanswertextbox.ThenredirectuserstothePasswordReset.aspxfile.
点击查看答案

第2题

YournetworkconsistsofanActiveDirectorydomain.&en

YournetworkconsistsofanActiveDirectorydomain.ThedomaincontrollersrunWindowsServer2008R2.ClientcomputersrunWindows7.

YouneedtoimplementEncryptingFileSystem(EFS)forallclientcomputers.Youwanttoachievethisgoalwhilemeetingthefollowingrequirements:

èYoumustminimizetheamountofdatathatistransferredacrossthenetworkwhenauserlogsontoorofffromaclientcomputer.

èUsersmustbeabletoaccesstheirEFScertificatesonanyclientcomputers.

èIfaclientcomputer sdiskfails,EFScertificatesmustbeaccessible

Whatshouldyoudo?()

点击查看答案

第3题

Your network consists of a single Active Directory domain. The domain contains a server na

med Server1 that runs Windows Server 2008 R2. All client computers run Windows 7. All computers are members of the Active Directory domain.You assign the Secure Server (Require Security) IPsec policy to Server1 by using a Group Policy object(GPO).Users report that they fail to connect to Server1.You need to ensure that users can connect to Server1. All connections to Server1 must be encrypted.What should you do?()

A. Restart the IPsec Policy Agent service on Server1.

B. Assign the Client (Respond Only) IPsec policy to Server1.

C. Assign the Server (Request Security) IPsec policy to Server1.

D. Assign the Client (Respond Only) IPsec policy to all client computers.

点击查看答案

第4题

YouhaveaserverthatrunsWindowsServer2008.YouneedtoconfiguretheserverasaVPNserver.Whatshouldyouinstallontheserver?()

A.WindowsDeploymentServicesserverroleandDeploymentServerroleservice.

B.WindowsDeploymentServicesserverroleandTransportroleService.

C.NetworkPolicyandAccessServicesserverroleandRoutingandRemoteAccessServicesroleservice.

D.NetworkPolicyandAccessServicesserverroleandHostCredentialAuthorizationProtocolrole.

点击查看答案

第5题

You copy a Web site from a development site to a staging site. You do not have the Web sit

e in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()

A. Use the Copy Web tool.

B. Create a Web Setup project.

C. Use the Publish Web tool.

D. Use the command line to XCOPY the files.

点击查看答案

第6题

Your company has a single Active Directory forest that has an Active Directory domain name

d na.contoso.com. A server named Server1 runs the DNS Server server role.You notice stale resource records in the na.contoso.com zone. You have enabled DNS scavenging on Server1. Three weeks later, you notice that the stale resource records remain in na.contoso.com.You need to ensure that the stale resource records are removed from na.contoso.com.What should you do?()

A. Stop and restart the DNS Server service on Server1.

B. Enable DNS scavenging on the na.contoso.com zone.

C. Run the dnscmd Server1 /AgeAllRecords command on Server1.

D. Run the dnscmd Server1 /StartScavenging command on Server1.

点击查看答案

第7题

You create a Web application. You need to turn on Tracing for a page that is not performin

g well. You must store the trace information in a database for reporting and trending. Which two actions should you perform?()

A. Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.

B. Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.

C. Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.

D. In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.

点击查看答案

第8题

YourcompanyhasasingleActiveDirectorydomai

n.AllserversrunWindowsServer2008.Thecompanynetworkhas10serversthatperformasWebservers.AllconfidentialfilesarelocatedonaservernamedFSS1.Thecompanysecuritypolicystatesthatallconfidentialdatamustbetransmittedinthemostsecuremanner.Whenyoumonitorthenetwork,younoticethattheconfidentialfilesarestoredontheFSS1serverarebeingtransmittedoverthenetworkwithoutencryption.YouneedtoensuretahtencryptionisalwaysusedwhentheconfidentialfilesontheFSS1serveraretransmittedoverthenetwork.Whataretwopossiblewaystoachievethisgoal?()

点击查看答案

第9题

YourcompanyhasanActiveDirectoryforest.ThecorporatenetworkusesDHCPtoconfigureclientcomputer

IPaddresses.TheDHCPserverhasaDHCPclientreservationforaportablecomputernamedWKS1.YouinstallasecondDHCPserveronthenetwork.YouneedtoensurethatWKS1receivestheDHCPreservationfromtheDHCPservice.Whatshouldyoudo?()

A.Runtheipconfig/renewcommandonWKS1

B.RunthenetshaddhelpercommandonWKS1

C.AddtheDHCPreservationforWKS1tothesecondDHCPserver

D.AddbothDHCPserverstotheRASandIASServersgroupintheActiveDirectorydomain

点击查看答案

第10题

Certkiller.COM提高一个主要的办公室和20个分公司。配置作为一个单独的网站,每个分公司有一个只读域控制器(RODC)服务器上安装。在远程办事处的用户抱怨说,他们无法登录到自己的帐户。你应该怎么做,以确保用户帐户的缓存凭据只在当地的分支机构的RODC服务器存储()

A.打开RODC计算机帐户的安全性“选项卡,并设置允许只接收用户无法登录到自己的帐户的权限

B.添加主域RODC的密码复制策略和安全组中添加用户帐户

C.配置每个分支机构的一个唯一的安全组和用户帐户添加到各自的安全组。允许密码复制组主要RODC的服务器上添加安全组

D.配置和添加一个单独的密码复制策略,在每个RODC计算机帐户

点击查看答案

第11题

YoumanageaserverthatrunsWindowsServer2008.TheD:\Payrollfolderiscorrupted.Themostrecentback

upversionis10/29/2007-09:00.YouneedtorestoreallthefilesintheD:\Payrollfolderbacktothemostrecentbackupversionwithoutaffectingotherfoldersontheserver.Whatshouldyoudoontheserver?()

A.RuntheRecoverd:\Payrollcomamnd

B.RuntheWBadminrestorecatalog-backuptarget:D:-version:10/29/2007-09:00Cquietcommand

C.RuntheWBadminstartrecovery-backuptarget:D:-version:10/29/2007-09:00CoverwriteCquietcommand

D.RuntheWbadminstartrecovery-version:10/29/2007-09:00-itemType:File-itemsd:\payroll-overwrite-recursiveCquietcommand.

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信