<p dir="ltr">Depends where you live and if you trust your neighbors.</p>
<div class="gmail_quote">On Jun 21, 2013 11:03 AM,  &lt;<a href="mailto:support-request@drupal.org">support-request@drupal.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send support mailing list submissions to<br>
        <a href="mailto:support@drupal.org">support@drupal.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.drupal.org/mailman/listinfo/support" target="_blank">http://lists.drupal.org/mailman/listinfo/support</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:support-request@drupal.org">support-request@drupal.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:support-owner@drupal.org">support-owner@drupal.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of support digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: How to safeguard sites from unwanted users (Jamie Holly)<br>
   2. Re: How to safeguard sites from unwanted users (Kamal Palei)<br>
   3. Re: How to safeguard sites from unwanted users (Jamie Holly)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 21 Jun 2013 10:00:02 -0400<br>
From: Jamie Holly &lt;<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a>&gt;<br>
Subject: Re: [support] How to safeguard sites from unwanted users<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID: &lt;<a href="mailto:51C45C62.1040807@earthlink.net">51C45C62.1040807@earthlink.net</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
The goal is to make it more difficult for people to register unwanted<br>
accounts. You aren&#39;t going to stop it completely. Email verification is<br>
just another hoop for them to jump through, one that is also accepted by<br>
a vast majority of regular users. It should always be used.<br>
<br>
Something I did for a client last year was a custom module. It did a few<br>
things. First we could set the number of registrations per IP in a given<br>
time frame. After that the account requires admin approval. It also<br>
recorded all the request headers so that I could look for a pattern,<br>
which I ended up finding. Once I was able to isolate that, I blocked<br>
that pattern from registering, which took a client&#39;s site from a few<br>
hundred spam registrations per day, down to one or two per week. Per my<br>
agreement with that client, I can&#39;t give out that pattern, but doing<br>
something similar on any site wouldn&#39;t be that complex.<br>
<br>
A common practice now is for companies to hire people to generate these<br>
accounts. They then use the accounts to spam your site. After that a<br>
company contacts you regarding the spam on your site, offering to &quot;clean<br>
it up&quot; and help your seo rankings. Very, very dirty indeed.<br>
<br>
The interesting part of that is what we found out. The registrations<br>
were happening from IP addresses all around the globe, yet the actual<br>
spam postings were mostly from U.S. IP addresses and over 70% were from<br>
hosting companies that offer VPS. We were successful in getting one<br>
hosting company to shut down an account, but most just ignore it.<br>
<br>
The whole morale of the story is vigilance. Things like CAPTCHA, email<br>
verification and keeping bad user accounts to prevent reuse of bad names<br>
and emails all give an extra layer of security (albeit not all that<br>
much). Or do you believe in leaving the front door of your home standing<br>
wide open, when you aren&#39;t there?<br>
<br>
<br>
Jamie Holly<br>
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a><br>
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a><br>
<br>
On 6/21/2013 1:56 AM, John Summerfield wrote:<br>
&gt; On 12/06/2013 10:37 PM, Jamie Holly wrote:<br>
&gt; &gt; +1 to that! Also, they can&#39;t reuse the email. Make it harder on them,<br>
&gt; &gt; not easier.<br>
&gt;<br>
&gt; Reread gmail&#39;s rules about its email addresses. One can generate any<br>
&gt; number of alternatives for any one email address. Besides, unless one<br>
&gt; requires email addresses to be verified during registration, users can<br>
&gt; use anything at all, even <a href="mailto:fred@example.net">fred@example.net</a> or joe@domain.test (both of<br>
&gt; which _can_ be valid).<br>
&gt;<br>
&gt; Email hosts often allow +arbitrarySuffix to the localpart of email<br>
&gt; addresses, but the &quot;+&quot; can be another arbitrary character, I&#39;ve seen<br>
&gt; hyphens used.<br>
&gt;<br>
&gt; And then there are some domains where everything is delivered, if not to<br>
&gt; a specific addressee then to a default address and that too is configurable.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 21 Jun 2013 19:45:03 +0530<br>
From: Kamal Palei &lt;<a href="mailto:palei.kamal@gmail.com">palei.kamal@gmail.com</a>&gt;<br>
Subject: Re: [support] How to safeguard sites from unwanted users<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:CALO8XuVd7N5-GyRPn6Ra_h_CyqRt8HgQXb391b47FDfXqPtVWA@mail.gmail.com">CALO8XuVd7N5-GyRPn6Ra_h_CyqRt8HgQXb391b47FDfXqPtVWA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
I am thinking of below solution.<br>
<br>
For my site, it is easy for us to find who are unwanted users using some<br>
mechanism. I am planning to write a custom module, that will allow<br>
administrator to list down unwanted users and these users references I will<br>
keep in a separate table , lets call it *table-a*. When a new user<br>
registers, I will check table-a, and if any entry found, I will use that<br>
entry&#39;s UID, for new user. Thereby over the time, anytime you see the<br>
unwanted users in my site will be less.<br>
<br>
Best Regards<br>
Kamal<br>
Net Cloud Systems, Bangalore-08<br>
<br>
<br>
On Fri, Jun 21, 2013 at 7:30 PM, Jamie Holly &lt;<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a>&gt;wrote:<br>
<br>
&gt; The goal is to make it more difficult for people to register unwanted<br>
&gt; accounts. You aren&#39;t going to stop it completely. Email verification is<br>
&gt; just another hoop for them to jump through, one that is also accepted by<br>
&gt; a vast majority of regular users. It should always be used.<br>
&gt;<br>
&gt; Something I did for a client last year was a custom module. It did a few<br>
&gt; things. First we could set the number of registrations per IP in a given<br>
&gt; time frame. After that the account requires admin approval. It also<br>
&gt; recorded all the request headers so that I could look for a pattern,<br>
&gt; which I ended up finding. Once I was able to isolate that, I blocked<br>
&gt; that pattern from registering, which took a client&#39;s site from a few<br>
&gt; hundred spam registrations per day, down to one or two per week. Per my<br>
&gt; agreement with that client, I can&#39;t give out that pattern, but doing<br>
&gt; something similar on any site wouldn&#39;t be that complex.<br>
&gt;<br>
&gt; A common practice now is for companies to hire people to generate these<br>
&gt; accounts. They then use the accounts to spam your site. After that a<br>
&gt; company contacts you regarding the spam on your site, offering to &quot;clean<br>
&gt; it up&quot; and help your seo rankings. Very, very dirty indeed.<br>
&gt;<br>
&gt; The interesting part of that is what we found out. The registrations<br>
&gt; were happening from IP addresses all around the globe, yet the actual<br>
&gt; spam postings were mostly from U.S. IP addresses and over 70% were from<br>
&gt; hosting companies that offer VPS. We were successful in getting one<br>
&gt; hosting company to shut down an account, but most just ignore it.<br>
&gt;<br>
&gt; The whole morale of the story is vigilance. Things like CAPTCHA, email<br>
&gt; verification and keeping bad user accounts to prevent reuse of bad names<br>
&gt; and emails all give an extra layer of security (albeit not all that<br>
&gt; much). Or do you believe in leaving the front door of your home standing<br>
&gt; wide open, when you aren&#39;t there?<br>
&gt;<br>
&gt;<br>
&gt; Jamie Holly<br>
&gt; <a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a><br>
&gt; <a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a><br>
&gt;<br>
&gt; On 6/21/2013 1:56 AM, John Summerfield wrote:<br>
&gt; &gt; On 12/06/2013 10:37 PM, Jamie Holly wrote:<br>
&gt; &gt; &gt; +1 to that! Also, they can&#39;t reuse the email. Make it harder on them,<br>
&gt; &gt; &gt; not easier.<br>
&gt; &gt;<br>
&gt; &gt; Reread gmail&#39;s rules about its email addresses. One can generate any<br>
&gt; &gt; number of alternatives for any one email address. Besides, unless one<br>
&gt; &gt; requires email addresses to be verified during registration, users can<br>
&gt; &gt; use anything at all, even <a href="mailto:fred@example.net">fred@example.net</a> or joe@domain.test (both of<br>
&gt; &gt; which _can_ be valid).<br>
&gt; &gt;<br>
&gt; &gt; Email hosts often allow +arbitrarySuffix to the localpart of email<br>
&gt; &gt; addresses, but the &quot;+&quot; can be another arbitrary character, I&#39;ve seen<br>
&gt; &gt; hyphens used.<br>
&gt; &gt;<br>
&gt; &gt; And then there are some domains where everything is delivered, if not to<br>
&gt; &gt; a specific addressee then to a default address and that too is<br>
&gt; configurable.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20130621/f1de9b49/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20130621/f1de9b49/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 21 Jun 2013 10:49:27 -0400<br>
From: Jamie Holly &lt;<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a>&gt;<br>
Subject: Re: [support] How to safeguard sites from unwanted users<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID: &lt;<a href="mailto:51C467F7.2030808@earthlink.net">51C467F7.2030808@earthlink.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Why go through all that? You&#39;re reinventing the wheel. Just block the<br>
unwanted users and then a new user can not be created with the same name.<br>
<br>
Also consider that a vast majority of spammers use a program to randomly<br>
generate a user name. That means that their are huge odds of them never<br>
using the same name twice for registration.<br>
<br>
Jamie Holly<br>
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a><br>
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a><br>
<br>
On 6/21/2013 10:15 AM, Kamal Palei wrote:<br>
&gt; I am thinking of below solution.<br>
&gt;<br>
&gt; For my site, it is easy for us to find who are unwanted users using<br>
&gt; some mechanism. I am planning to write a custom module, that will<br>
&gt; allow administrator to list down unwanted users and these users<br>
&gt; references I will keep in a separate table , lets call it *table-a*.<br>
&gt; When a new user registers, I will check table-a, and if any entry<br>
&gt; found, I will use that entry&#39;s UID, for new user. Thereby over the<br>
&gt; time, anytime you see the unwanted users in my site will be less.<br>
&gt;<br>
&gt; Best Regards<br>
&gt; Kamal<br>
&gt; Net Cloud Systems, Bangalore-08<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jun 21, 2013 at 7:30 PM, Jamie Holly<br>
&gt; &lt;<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a> &lt;mailto:<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     The goal is to make it more difficult for people to register unwanted<br>
&gt;     accounts. You aren&#39;t going to stop it completely. Email<br>
&gt;     verification is<br>
&gt;     just another hoop for them to jump through, one that is also<br>
&gt;     accepted by<br>
&gt;     a vast majority of regular users. It should always be used.<br>
&gt;<br>
&gt;     Something I did for a client last year was a custom module. It did<br>
&gt;     a few<br>
&gt;     things. First we could set the number of registrations per IP in a<br>
&gt;     given<br>
&gt;     time frame. After that the account requires admin approval. It also<br>
&gt;     recorded all the request headers so that I could look for a pattern,<br>
&gt;     which I ended up finding. Once I was able to isolate that, I blocked<br>
&gt;     that pattern from registering, which took a client&#39;s site from a few<br>
&gt;     hundred spam registrations per day, down to one or two per week.<br>
&gt;     Per my<br>
&gt;     agreement with that client, I can&#39;t give out that pattern, but doing<br>
&gt;     something similar on any site wouldn&#39;t be that complex.<br>
&gt;<br>
&gt;     A common practice now is for companies to hire people to generate<br>
&gt;     these<br>
&gt;     accounts. They then use the accounts to spam your site. After that a<br>
&gt;     company contacts you regarding the spam on your site, offering to<br>
&gt;     &quot;clean<br>
&gt;     it up&quot; and help your seo rankings. Very, very dirty indeed.<br>
&gt;<br>
&gt;     The interesting part of that is what we found out. The registrations<br>
&gt;     were happening from IP addresses all around the globe, yet the actual<br>
&gt;     spam postings were mostly from U.S. IP addresses and over 70% were<br>
&gt;     from<br>
&gt;     hosting companies that offer VPS. We were successful in getting one<br>
&gt;     hosting company to shut down an account, but most just ignore it.<br>
&gt;<br>
&gt;     The whole morale of the story is vigilance. Things like CAPTCHA, email<br>
&gt;     verification and keeping bad user accounts to prevent reuse of bad<br>
&gt;     names<br>
&gt;     and emails all give an extra layer of security (albeit not all that<br>
&gt;     much). Or do you believe in leaving the front door of your home<br>
&gt;     standing<br>
&gt;     wide open, when you aren&#39;t there?<br>
&gt;<br>
&gt;<br>
&gt;     Jamie Holly<br>
&gt;     <a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a><br>
&gt;     <a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a><br>
&gt;<br>
&gt;     On 6/21/2013 1:56 AM, John Summerfield wrote:<br>
&gt;     &gt; On 12/06/2013 10:37 PM, Jamie Holly wrote:<br>
&gt;     &gt; &gt; +1 to that! Also, they can&#39;t reuse the email. Make it harder<br>
&gt;     on them,<br>
&gt;     &gt; &gt; not easier.<br>
&gt;     &gt;<br>
&gt;     &gt; Reread gmail&#39;s rules about its email addresses. One can generate any<br>
&gt;     &gt; number of alternatives for any one email address. Besides,<br>
&gt;     unless one<br>
&gt;     &gt; requires email addresses to be verified during registration,<br>
&gt;     users can<br>
&gt;     &gt; use anything at all, even <a href="mailto:fred@example.net">fred@example.net</a><br>
&gt;     &lt;mailto:<a href="mailto:fred@example.net">fred@example.net</a>&gt; or joe@domain.test (both of<br>
&gt;     &gt; which _can_ be valid).<br>
&gt;     &gt;<br>
&gt;     &gt; Email hosts often allow +arbitrarySuffix to the localpart of email<br>
&gt;     &gt; addresses, but the &quot;+&quot; can be another arbitrary character, I&#39;ve seen<br>
&gt;     &gt; hyphens used.<br>
&gt;     &gt;<br>
&gt;     &gt; And then there are some domains where everything is delivered,<br>
&gt;     if not to<br>
&gt;     &gt; a specific addressee then to a default address and that too is<br>
&gt;     configurable.<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20130621/41e08d76/attachment.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20130621/41e08d76/attachment.html</a><br>
<br>
------------------------------<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
End of support Digest, Vol 126, Issue 26<br>
****************************************<br>
</blockquote></div>