How can I prevent spam by letting users send emails to their friends?

I am working on an application (in PHP and JavaScript) that allows users to create content (short stories), and I want to add the "Send this to a Friend" button.

I am worried, however, that this can be used to send spam.

What can I do to prevent this from happening? I think:

1) The user must confirm his personal email address before sending it 2) I have a hidden field somewhere that the bots will fill

What else should I do?

Greetings

+3
source share
3 answers

I see two solutions to your problem.

1) . , , .

2) captcha . .

? ? , , .. , , . , , .

+2

, , . , . PDF. . captcha, unsureness , , . , . .

+1

You can also add a speed limit, for example, 1 / minute and 10 / hour (for example, you need to find out which numbers suit you) if the block is broken for 1 hour, if it is broken before the hour goes down on 2 hours, etc ..

+1
source

All Articles