Security based on content analysis in social networks has become a hot spot as a result of the recent problems of violations of privacy by governments to international security agencies. This article is an approach to the implementation of programs for extraction and analysis of the web information, this includes the technical difficulties and the legal consequences involved.