Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Weblog of a workaholic
Browse by Tags · View All
.NET General 53
C# 47
LINQ 16
Dependency injection 12
Validation Application Block 10
Enterprise Library 10
ASP.NET 9
LINQ to SQL 8
Entity Framework 8
CuttingEdge.Conditions 8

Archive · View All
August 2009 7
September 2009 6
March 2007 5
October 2006 3
May 2009 3
July 2008 3
November 2007 3
November 2006 2
January 2009 2
August 2008 2

Protecting against Regex DOS attacks

May 5 2010 12:00AM by Steven   

Bryan Sullivan describes in the May issue of his MSDN article a denial of service attack that abuses regular expressions. As Bryan explains, a poorly written regex can bring your server to its knees.

Bryan demonstrates that even the simplest regular expressions can bring your server to its knees. Here are some examples of regular expressions that can easily cause this to happen:

^(\d+)+$
^(\d+)*$
^(\d*)*$
^(\d+|\s+)*$
^(\d|\d\d)+$
^(\d|\d?)+$

Read more about the causes and the cures here.


Republished from .NET Junkie [7 clicks].  Read the original version here [2 clicks].

Steven
395 · 0% · 101
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]