Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Anti-Spam

larryzhao
November 24, 2015

 Anti-Spam

Anti-Spam @2015-11-24 RubyTue

larryzhao

November 24, 2015
Tweet

More Decks by larryzhao

Other Decks in Programming

Transcript

  1. ANTI SPAM
    @JIANSHU.COM
    Created by /
    Larry Zhao @larryzhao

    View Slide

  2. SPAM IS HARMFUL
    Users will see bad contents.
    It puts stress on your application.
    Data explosion.
    Downgraded by Search Engines.

    View Slide

  3. TYPES
    SEO
    Marketing
    Fraud

    View Slide

  4. DEFENSE
    1. Captcha & Authentication
    2. Frequency Control
    3. Business Limits
    4. Content Filtering + Pattern Recognition
    5. Behaviour Detection
    6. Human Labour
    7. Ban User and delete user

    View Slide

  5. CAPTCHA &
    AUTHENTICATION
    Image Captcha
    API signature
    Geetest.com

    View Slide

  6. FREQUENCY CONTROL
    Redis Lock

    View Slide

  7. BUSINESS LIMITS
    Bind mobile to publish articles
    First day of registration can only publish 100 articles
    Every hour can only publish 50 articles

    View Slide

  8. CONTENT FILTERING
    Regex + Keywords + Domains
    Delayed check

    View Slide

  9. BEHAVIOUR DETECTION
    Frequent publishes in a short period after registration
    Similar content

    View Slide

  10. HUMAN LABOUR
    Regular Email
    Slack/Pubu.im

    View Slide

  11. BAN + DELETE
    Restore

    View Slide

  12. SYSTEM REQUIREMENTS
    Automation
    Configurable

    View Slide

  13. ENDLESS WAR...

    View Slide

  14. FAQ

    View Slide

  15. THANK YOU!

    View Slide