Create a Vacation Rental Website

Antispam protection

December  2020

If contact forms have been the preferred option, as a means of contacting the managers of a website, it has been because publishing an email address on the Internet is opening the door to receiving a large amount of spam or unwanted emails. It is a fact that crawlers operate on the network that go through websites, collecting email addresses, which they include in databases, that are sold to send advertising, or any other type of messages with unlawful purposes. Or, they use the contact forms in an automated way, to send those unwanted messages.

While it is true that an email address on a web page can be hidden with a Javascript function, which can be a good alternative to a contact form. Now, these offer us the advantage that before being sent, the message can be processed by the server, where we can implement the following protection measures:

  1. Implement a reCAPTCHA, to verify that it is a person. Still, it is not enough, because there are trackers capable of overcoming this control.

  2. Use a service to verify that the sender's email address and IP are not registered in a database, which collects information from those spammers. Our recommendation would be Stop Forum Spam, but there are others like CleanTalk or Akismet, widely used with Wordpress.

  3. The Honeypot Technique, which consists of placing a hidden field from the user's eyes, but visible to trackers. In this way, if we receive a message with a value in this field, we will know that it has not been sent by a human. This hidden field can be one more input within the form HTML code, to which once the page is loaded, with a Javascript function, that could be delayed for a few seconds, we assign it the invisible property.

  4. Analyze the text of the message and if some words are detected, often used by spammers and without any relation, with the vacation rental business, the sending of the message can be stopped.

When from the server, it is detected that a message may be fraudulent, in addition to preventing its sending, we will redirect the user to the contact form, where we will inform them of the reason why the message has not been sent. In this way, if the message was not fraudulent, the client would at least know why it could not be sent.

Create a Vacation Rental Website
Why do we need our own website?
Content Management for a website
Booking engine for vacation rentals
Section with guest reviews
Vacation Rental Availability Calendar
Essential content for a Vacation Rental Website
Ideal Heading for a Holiday Rental
Contact forms
Antispam protection