How to handle SQL injection attacks in Entity Framework?
Entity Framework is injection safe since it always generates parameterized SQL commands which help to protect our database against SQL Injection.
A SQL injection attack can be made in Entity SQL syntax by providing some malicious inputs that are used in a query and in parameter names. To avoid this one, you should never combine user inputs with Entity SQL command text.
Comments
Post a Comment