试题详情
单项选择题 You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The user name and password that is kept by the connection string is stored directly in the code of the application. You want to make sure that the password in the connection string is as protected.   What should you do? ()

A、 Add the connection string to the Settings.settings file.

B、 Add connection string to the Web.config file and use protected configuration.

C、 Use the TRUE setting in the Persist Security Info keyword.

D、 Use the FALSE setting in the Persist Security Info keyword

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题