liuxurong
V2EX  ›  问与答

[网站运营] 怎么 ban 掉一些不好的用户,CC,发贴机,等等。

  •  
  •   liuxurong · Feb 21, 2013 · 3438 views
    This topic created in 4854 days ago, the information mentioned may be changed or developed.
    判断 user-agent 吗?有什么好的方案呢?不要伤及蜘蛛的收录,有什么办法呢?
    5 replies    1970-01-01 08:00:00 +08:00
    xiaop
        1
    xiaop  
       Feb 21, 2013
    发帖机和灌水广告用户:我的方法是通过建立词库过滤,匹配词库的话要审核。
    CC:nginx限制,效果不错: http://www.v2ex.com/t/59383
    liuxurong
        2
    liuxurong  
    OP
       Feb 21, 2013
    @xiaop 不错,但第二个方法似乎会影响到蜘蛛?
    xiaop
        3
    xiaop  
       Feb 21, 2013   ❤️ 1
    @liuxurong 不限制静态文件,只限制动态文件的并发数。
    liuxurong
        4
    liuxurong  
    OP
       Feb 28, 2013
    liuxurong
        5
    liuxurong  
    OP
       Feb 28, 2013
    60906
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2906 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:37 · PVG 11:37 · LAX 20:37 · JFK 23:37
    ♥ Do have faith in what you're doing.