This document proposes a system to filter unwanted messages from walls and block non-legitimate users in online social networks. It uses machine learning for content-based filtering of messages. Short text is classified and filtering rules are provided to block certain content. Blacklists are also used to prevent some users from posting messages temporarily. The proposed system aims to provide privacy and control over the content visible on users' walls.