Secure your forms in ASP.NET

by Mads Kristensen 25. July 2007 21:11
Do we really need CAPTCHA's to prevent robots posting to our web forms? Not if you run ASP.NET 2.0. Whether you use a form for member logins, blog comments or a web shop you want to keep it as secure and tamper proof as possible. Brute force attacks on a login form performed by robots or ... [More]

Tags: , ,

ASP.NET | Security

Remove the X-AspNet-Version header

by Mads Kristensen 19. June 2007 03:34
Shows how to remove the X-AspNet-Version HTTP header by changing only the web.config [More]

Tags: ,

Security

Send the right error codes in ASP.NET

by Mads Kristensen 10. April 2007 02:06
The mothod removes the yellow screen of death and let’s the browser decide what to display to the visitor. [More]

Tags: ,

ASP.NET | Security

Is security harmful for innovation?

by Mads Kristensen 5. March 2007 01:21
Some of my friends have been considering moving to Vista and have therefore asked me if it’s worth the money. My answer is an unconditionally yes, but then they ask why that is and what features are worth the upgrade? That’s an easy question to answer because there is only one big f... [More]

Tags:

Security

Brute force protect your website

by Mads Kristensen 28. November 2006 00:06
On a website with the ability for users to logon, it is a good idea to have some sort of password policy. The most widely used contains minimum requirements for the length of the password and that the individual characters must be a mixture of numbers, letters and special characters... [More]

Tags:

Security

Simple method to avoid comment spam

by Mads Kristensen 8. November 2006 15:05
We probably all know about the annoying captcha images that a lot of blogs uses for separating humans from machines (spam robots). I use a captcha image to avoid comment spam on this blog because I get a lot, but I really don’t like to use it. I don’t like the fact that it makes is ... [More]

Tags:

ASP.NET | Security

Spam proof your website using an HttpModule

by Mads Kristensen 1. November 2006 04:34
Every time an email address is written on a website, it allows spam robots to collect it and abuse it. If you have a website (e.g. blog or forum) that displays the users e-mail address it would be a nice service to mask it for the spam robots. The safest way to display an e-mai... [More]

Tags:

ASP.NET | Security

Solution to the Firefox port problem

by Mads Kristensen 8. October 2006 21:26
The built in webserver in Visual Studio 2005, formerly known as Casini, uses a dynamic or static port on the localhost machine (e.g. http://localhost:2049/default.aspx). It is dynamic by default, but you can make it static if you choose. That works very well except when you try it i... [More]

Tags:

ASP.NET | Client-side | Security

Keep security as simple as possible

by Mads Kristensen 19. September 2006 04:23
When building a new application, be it Windows Form or ASP.NET, security is an important factor to consider from the very beginning. There are hundreds of books and thousands of websites helping you to secure your application, but they all seem to share one annoying thing; they make... [More]

Tags:

Security

Validate strong passwords in C# and ASP.NET

by Mads Kristensen 17. September 2006 23:47
It’s always a good idea to have a password policy when creating new applications. A password policy can vary from project to project, but the important part is just to have one to begin with. It is very difficult to implement later in the process and then change all the users’ passw... [More]

Tags:

Security

About the slave

Mads Kristensen Mads Kristensen
Web developer at ZYB and founder of BlogEngine.NET. More...

LinkedIn ZYB Facebook Last.fm Twitter View Mads Kristensen's profile on Technorati

The Lounge

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008