Home > Asp.net, SQL Server > Minimise SQL injection in asp.net

Minimise SQL injection in asp.net

According this blog,SQL injection still accounts for a large number of attacks.Here are three things you can use to prevent SQL injection.
1.Use a least-privileged database account.

2.Constrain and sanitize user input(client and server validation).

3.Use parametrized SQL statements instead of dynamic SQL

Most importantly , you need to know how the hacker to hack your site a.k.a have a hacker-mindset as a programmer when you do you job.

Advertisements
Categories: Asp.net, SQL Server
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: