5 Replies - 298 Views - Last Post: 24 January 2013 - 05:24 AM Rate Topic: -----

#1 makamo66  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 04-February 09

How to Prevent Spam Submissions

Posted 21 January 2013 - 12:07 PM

I have a cakephp recipe website at http://www.projectpotluck.com I've been getting spam recipe submissions from a non-registered user. How is it possible to submit a recipe when not registered or logged in and how can I prevent it?
Is This A Good Question/Topic? 0
  • +

Replies To: How to Prevent Spam Submissions

#2 raghav.naganathan  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • Joined: 14-September 12

Re: How to Prevent Spam Submissions

Posted 21 January 2013 - 12:19 PM

Ok, I went to your site and tried to do what you just mentioned, but I saw that there was no place where I could give my recipe without me logging in.

So, what did you mean when you said a non-registered user is spamming your website?

regards,
Raghav
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10376
  • View blog
  • Posts: 38,415
  • Joined: 27-December 08

Re: How to Prevent Spam Submissions

Posted 21 January 2013 - 12:19 PM

Where is the submissions page? Does the user have to be logged in to submit? Have you tried using a CAPTCHA?
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,462
  • Joined: 12-June 08

Re: How to Prevent Spam Submissions

Posted 21 January 2013 - 12:20 PM

My guess is cross sit scripting.. but I don't have the time to actually register adn check out your 'submit a recipe' code...
Was This Post Helpful? 2
  • +
  • -

#5 makamo66  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 04-February 09

Re: How to Prevent Spam Submissions

Posted 21 January 2013 - 02:15 PM

The problem was that I wasn't using the auth component for my recipes controller but I've fixed that now.
Was This Post Helpful? 0
  • +
  • -

#6 jayanta1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 23-January 13

Re: How to Prevent Spam Submissions

Posted 24 January 2013 - 05:24 AM

A CAPTCHA is a method to fight spam robots, by requiring the user to enter a code which is displayed as a distorted image.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1