Augie (a creative real estate investor ) presented a spam prevention method idea which we’ve been talking about under a previous post this past week: HowTo Eliminate Wordpress Trackback Comment And Pingback Spam . Augie (een creatieve vastgoed investeerder) een spam preventiemethode gedachte die we hebben gehad over het kader van een eerdere post this verleden week: HowTo elimineren Wordpress Trackback Comment And Pingback Spam. The basic idea is to provide an extra input field which is hidden to a user when viewed normally from the browser. Het basisidee is om een extra veld, die verborgen is aan een gebruiker als normaal gezien vanuit de browser. This means if you check your form data when a submission is being processed, you can determine if the field is still empty. Dit betekent dat als u uw formulier gegevens als een middel wordt verwerkt, kunt u bepalen of het veld is nog leeg. If it is filled out, then a bot must have auto filled the field. Als het is ingevuld, dan een bot moet hebben automatisch gevuld het veld.

Spam Field Details Spam Field Details

The naming convention used on a hidden field should be named “email” or “url” to trick the bot. De naamgevingsconventie gebruikt op een verborgen gebied moet de naam 'e-mail "of" url "truc om de bot. Your real email field will then of course need to be named something else. Uw echte e-mail veld zal dan uiteraard moeten worden benoemd iets anders. A small price to pay for less house cleaning. Een kleine prijs om te betalen voor minder huis schoonmaken.

Another key to all of this is to wrap your trap (haha) in a DIV so that the a bot cant tell that the field is hidden. Een andere sleutel tot dit alles is verpakt uw valdeur (haha) in een DIV zodat het een bot cant vertellen dat het veld is verborgen. Marking it with type=”hidden” on the input tag itself is a bit of a giveaway. Markering met type = "verborgen" op de input-tag zelf is een beetje een giveaway. Assigning an id or class to the div and specifying display:none; would cause the bot a lot of extra work which most probably aren’t programmed for. Het toewijzen van een id of klasse van de div en specificeren display: none; zou de bot een heleboel extra werk die het meest waarschijnlijk zijn niet geprogrammeerd voor. You could also use a built in id or class directly on the div to specify it as a hidden field. Je kan ook gebruik maken van een ingebouwde id of klasse rechtstreeks op de div te specificeren als een verborgen veld.

Hidden Input Field Code Verborgen invoerveld Code

Here is an example of what your code would look like: Hier is een voorbeeld van wat je code zou er als volgt uitzien:

  1. CSS code would look like this:
  2. #email {
  3. display: none
  4. }
  5. OR if you're doing it by the div:
  6. .specialfield {
  7. display: none
  8. }
  9. Your form would look something like this:
  10. <form method="post" action="yourformprocessor.php">
  11. <div class="specialfield"><input id="email" type="text"></div>
  12. <input id="realemail" type="text">
  13. </form>

Using Hidden Fields Gebruik van Hidden Fields

It isn’t too much of a stretch to add this to a custom solution or implement it into a Wordpress comments or form plugins because id’s and classes are assigned to input fields by default. Het is niet te veel van het stuk toe te voegen dat dit een aangepaste oplossing of de uitvoering van het in een commentaar of Wordpress plugins vorm omdat id's en categorieën zijn ingedeeld in velden standaard. If you’re not already using a form plugin check out: Als je niet reeds met behulp van een formulier plugin Check-out:

cforms II or Contact Form 7 (my preference). cforms II of Contact Formulier 7 (mijn voorkeur).

If I get enough requests I’ll write a post which explains how to implement this into Wordpress comments in a similar manner in which I setup the Enhanced Numbered Equation CAPTCHA . Als ik genoeg verzoeken Ik schrijf een bericht waarin wordt uitgelegd hoe de uitvoering van deze in Wordpress commentaar op een soortgelijke manier waarop ik de setup Nauwere Genummerde Equation CAPTCHA.

The More Spam Defense The Better De meer spam Defensie De Betere

I don’t have a lot of experience in using spam bots, but this is a promising way to enhance our line of defense against spam. Ik heb niet veel ervaring in het gebruik van spam bots, maar dit is een veelbelovende manier om onze lijn van verdediging tegen spam. More importantly, its not intrusive on a users browsing experience. Nog belangrijker is, zijn niet opdringerig over een gebruikers surfen. Unlike a CPATCHA, it requires a valid visitor to do nothing! In tegenstelling tot een CPATCHA, het vereist een geldige bezoeker niets te doen!

If you have any thoughts or comments, about this spam technique, leave them below. Hebt u ideeën of opmerkingen over deze spam techniek, laat ze hieronder.


1 Trackback(s) 1 Trackback (s)

  1. Nov 26, 2008: WordPress Wednesday: Comment Spam | BlueFur.com 26 nov 2008: WordPress Woensdag: Commentaar Spam | BlueFur.com



Leave A Comment: Verlaat een Commentaar:

Comments RSS Feed Reacties RSS Feed

8 Added To 4 = 8 Toegevoegd tot 4 =

Custom Theme by Rob Malon | Content & Design © 2008 - Rob Malon [dot] Com. Aangepast Thema door Rob Malon | Content & Design © 2008 - Rob Malon [dot] com. "));
"));