The Turkish police have detained 32 members of Anonymous, a collective of professed activists, on suspicion of planning attacks on a number of Web sites, the Turkish state-run news agency Anatolian reported.

The action came in response to a complaint from Turkey’s directorate of telecommunications, whose Web site was taken down on Thursday as part of a protest against what Anonymous says is government censorship of the Internet.

Turkey, whose ruling AK Party won a national election on Sunday, plans to introduce a new Internet filtering system in August, under which users will have to sign up for one of four filters: domestic, family, children and standard.

Anonymous, a loose collective that has attacked many Web sites including those of Amazon and MasterCard, says the system will make it possible to keep records of people’s online activity.