This document discusses anonymizing social networks that are centralized and distributed. It presents two variants of an anonymization algorithm called sequential clustering (Sq) that can anonymize a centralized social network without revealing links between nodes controlled by different data holders. The algorithms significantly outperform the leading SaNGreeA algorithm. Secure distributed versions of the algorithms are also developed to anonymize distributed social networks. This is presented as the first study into privacy preservation for distributed social networks.