INFO: How to prevent spam user registrations on your dnn site

If you have been receiving daily new registrations to your dnn (dotnetnuke) site from invalid/spam users, your site is under by attack by spam bots.

Why do they do this?
These bots create users and populate the user profile with spam links/urls to gain "link juice" and help with the SEO of their own sites.

How do the bots do this?
First they search for sites that contain "Membership for this website is public" which is default text found in any new DotNetNuke installation
Then, when a site is found the bot will execute a request for http://domain.com/default.aspx?ctl=Register
The bot will then calculate the captcha if it is enabled and submit a registration for a new user with the "spammy" profile. Yes, the bots can break through the default built-in captcha module!

How do I prevent this?
If your site does not need registration enabled, the easiest and fastest way is to simply disable registration alltogether by going to the DNN Admin > site settings and choose None for User registration.

If you need to accept new user registrations, then the user registration should be set to Private so that each new user has to be validated by an admin.
Captcha should also be enabled, even though captcha can now be broken by bots, it may still prevent some registrations and at least block basic attacks.

If you absolutely need to have Public registration, the following steps should be taken to help prevent registration spam:

My site already has thousands of bad users, how do I get rid of them?
Without spending hours manually deleting the users, there are some sql queries that you can run against your dnn database to delete these quickly.
Before running any queries on your database, make sure to take a complete backup.
http://www.dnnsoftware.com/community-blog/cid/155027/quick-tip-getting-rid-of-spam-users

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO: How do I associate mynewdomain.com to a parent/child portal in my DotNetNuke Portal?

In this example, "Portal A" is the main DotNetNuke portal associated with portaldomain.com where...

HOW TO: DotNetNuke 5.x and 6.x Installation on your reseller account

Pre-requisites:You must have already added, a domain and web site.Your plan must include asp.net...

HOW TO: Upgrade DotNetNuke the next minor version

This article describes the steps required to uprade your DNN to the next minor version.Please...

HOW TO: Moving your DotNetNuke site to ResellerChoice from a previous host

Transferring a DNN / DotNetNuke site to ResellerChoice from another host.  1....

HOW TO: DotNetNuke 4.x Installation on your reseller account

Pre-requisites:You must have already added, a domain and web site.Your plan must include asp.net...