Mitigating Colluding Attacks in Online Social Networks and Crowdsourcing Platforms