What should you do to ensure that the password in the connection string is as secure as possible?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.

The connection string that contains the user name and password is stored directly in the code of the application.

You need to ensure that the password in the connection string is as secure as possible.

What should you do?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.

The connection string that contains the user name and password is stored directly in the code of the application.

You need to ensure that the password in the connection string is as secure as possible.

What should you do?

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

B.
Set the Persist Security Info keyword in the connection string to true.

C.
Set the Persist Security Info keyword in the connection string to false.

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *