mysql-php How to filter a user's duplicate submissions when sending a message

Source: Internet
Author: User

Put a text field on the front end that allows the user to enter a mailbox account and then submit the message to the backend for sending tasks

The problem is if the user (malicious) copied into the tens of thousands of mailbox account, and then submitted, and then the user again to the same tens of thousands of copy again, resubmit, so the problem is big

Allow users to submit multiple times, but the data they submit each time is not controllable ....

Reply content:

Put a text field on the front end that allows the user to enter a mailbox account and then submit the message to the backend for sending tasks

The problem is if the user (malicious) copied into the tens of thousands of mailbox account, and then submitted, and then the user again to the same tens of thousands of copy again, resubmit, so the problem is big

Allow users to submit multiple times, but the data they submit each time is not controllable ....

What is the application scenario, can you describe it?

Is it possible to solve the problem by putting the e-mail address into the database only to prevent duplicate submissions?

Filtering is done at the interface where the message is sent. The user's permission level is divided, the limit of the number of sending objects at different levels is different, and the number of messages sent can be limited.

Record user submissions, limiting the number of times a user submits.

For a user's data (mailbox) to do the deduplication

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.