Security of P2P Platforms