Preventing Security Holes from Social Networks