ASP.NET

 
 

HTTP black lists stop comment spammers


Jun 04, 2008 by Paul White

I got sick of seeing failed viewstate in my event logs. so I wrote some code that checks visitors against a HTTP blacklist.  I found that one of my blacklists was full of false positives.  Not that the given IP wasn't abusive at one point in time but I found it was full of proxies of which are frequently used by legitimate users.  After comparing some user logs I found that I was blocking a few of my member.  The HTTP blacklist from Project Honey Pot works, but had the problem with proxies as I stated above.  However one that I have had much better luck with is the one by stopforumspam.com.
If you are looking to stop comment spammers from seeing your site, I highly recommend them.  Read on for a code snippet that shows how I implimented this block
 Read Full Blog0 Comments

How to make your CSS look the same in IE and firefox


May 27, 2008 by Paul White

I was fighting some design issues on my client's new site.  But I found some CSS code that did the trick.  I guess the trick is to reset all your tags inside your CSS before starting to implement your own custom attributes.  If you have been struggling with getting your CSS to look the same on both your firefox and IE 7 pages. This code snippet will do the trick.
 Read Full Blog0 Comments

asp.net http module for project honey pot http IP blacklist


Mar 31, 2008 by Paul White

Project Honey Pot
If there is one things that developers agree on, its that hackers, and spammers should be hunted down, and Killed, ( I mean brought to justice ).  The guys over at Project Honey Pot are leading the fight against spam.  They have setup a HTTP Blacklist that developers can use to validate their visitors IP.  The only problem is writing some code to utilize it might be a little advanced for some.  I have created an HTTP Module for ASP.NET that will validated your visitors before they get into your site.  I even commented my code ( something I usually don't do ), so others can learn.  Give it a try and let me know what you think. 
 Read Full Blog0 Comments

How to stop Real Player from downloading your videos with ASP.NET


Mar 11, 2008 by Paul White

Coming soon!!  Even though you can never block computer savy people from downloading your videos. The latest Real Player makes it so easy that even a computer handicaped person could download videos from your members sites.  After some hacking I figured out how to bock Real Player from stealing your videos.  All I am going to say is it involves an Http Handler, and an ISAPI entry to manage your .MPG extensions.  I should have a full write up on how to do this within a few days.
 Read Full Blog0 Comments

Stop Hackers and Spam Bots in IIS


Mar 01, 2008 by Paul White


If you get a ton of server errors in your event logs in IIS. You might be under attack from hackers and spam bots attempting to inject comments and links in your submit forms.  The notorious Viewstate Failed Error seems to be the result of their attempts.  I have found an awesome resource to take care of this, and block these rejects for good. 
 Read Full Blog0 Comments
 12
HomeBlogsPhotosPlaces
Categories
Archives
Authors
 
  Blog Driven by WhiteSites