Scott Hanselman

CommentSpam: It has begun, next steps?

November 10, 2004 Comment on this post [12] Posted in DasBlog
Sponsored By

Some one has started comment spamming me. What's the comment spam solution for dasBlog (other than turning them off?)

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
November 10, 2004 16:29
I have the same problem - I'm also wondering what the solution is..
November 10, 2004 16:43
I usually treat it as a nature's force (a hurricane or a snow storm) and just wait it out, diligently pruning the spam comments out -- it's not that difficult. IMHO, the only easy way to get rid of them is to start posting really boring and uninteresting entries to lower the overall popularity of your blog :)
November 10, 2004 17:05
Ask users to register and log on first before commenting. Its pretty easy to implement if you want to go quick & dirty. Just change web.config in dasBlog to include form authentication for CommentView.aspx and write plain vanila login.aspx and register.aspx for user accounts. Problem is that than your comments won't be indexed by search engine and thats bad because lot many times comments have much more useful info than actual blog. So if you want to do nice way, you will need a further little tweak in dasBlog source to seperate comment view and comment entry.

I've thought of a even better solution. Hopefully I'll have some time on my hand to implement it soon.
November 10, 2004 17:18
If anyone comes up with a dasBlog solution, let me know and I'll put it up on In the meantime, you're welcome to consume my BlackList of people who have comment-spammed
November 10, 2004 17:29
No option in dasBlog for CAPCHA to try to force human-only entry? Jeff Atwood has a nice self-contained ASP.NET CAPCHA control, but I don't know if you can integrate that your own self with dasBlog.
November 10, 2004 18:02
Great stuff folks...I just had an epiphany, and I'll prototype it tonight! (may not even require any dasBlog changes!)
November 10, 2004 19:31



then use SUBRLs (Spam URI Realtime Blacklists). If a comment contains a blacklisted uri, automatically reject the comment.

After the above two which should reject bad comments before you see them, you manually reject the ones that got through.


November 10, 2004 21:39
This is a test
November 10, 2004 21:41
This is a test 2
November 10, 2004 23:53
Looking quite promising!
November 14, 2004 10:35
I'm surprised you haven't seen referral spam yet, especially as dasBlog appears to just display every referral.

I've ended up listing them now, see
September 12, 2005 12:52
Hello! I was interested in your article. It is rather instructive.

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.