How To: Protect From Injection Attacks in ASP.NET (via D Says)

Just to refresh the post ….. because i thinks this an important part of development to keep these things in mind..

To protect your ASP.NET application from injection attacks, perform the following steps: ·         Step 1. Use ASP.NET request validation. ·         Step 2. Constrain input. ·         Step 3. Encode unsafe output. ·         Step 4. Use command parameters for SQL queries. ·         Step 5. Verify that ASP.NET errors are not returned to the client. The next sections describe each of these. Step 1. Use ASP.NET Request Validation By default, ASP.NET … Read More

via D Says


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s