Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
You are reviewing an application that accesses a SQL Server database. The application uses the following connection string:
MultipleActiveResultSets=True;Encrypt=True;Persist Security Info=True;
where username is the SQL Server login and password is the password associated with that account.
You need to minimize the chance that malicious code can access SQL login credentials.
Which configuration string parameter should you set?
on 8/31/2012 | Category:
ADO.NET Interview questions
| Views: 1034 |
Select from following answers:
Set Persist Security Info to False.
Set Enlist to False.
Set Encrypt to False.
Use Persist Security Info=False. The default value for Persist Security Info is False; use this default in all connection strings. Setting Persist Security Info to True or Yes allows security-sensitive information, including the user ID and password, to be obtained from a connection after it has been opened. When Persist Security Info is set to False or No, security information is discarded after it is used to open the connection, ensuring that an untrusted source does not have access to security-sensitive information.
Show Correct Answer
MeasureUp.com | |
< Previous :
You add the following method to an application tha ...
Next > :
You are designing an application that will use Ent ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
You are designing an application that will use Entity Framework to acc ...
You are implementing an ASP.NET Web application that will connect to a ...
You are designing an ASP.NET Web application that will connect to a Mi ...
You are implementing an ASP.NET Web application that must access a SQL ...
You are implementing a WPF application that must access data from a SQ ...
You are reviewing the following code, which executes a command based o ...
Your application uses the Microsoft .NET Framework Data Provider for S ...
You are designing an ASP.NET Web application that connects to a Micros ...
Latest Interview Questions
What is meant by Visio Services ?
Explain the difference between Classic mode authentication and Claims- ...
What is meant by Performance Point Services ?
What is meant by User Profile service ?
Mention the types of authentications available for SharePoint 2010 ?
Give the list of sites that are available in SharePoint ?
How to create links to the mapped network drives ?
Explain about a Field Control ?