The Brazilian Congress has adopted a bill that approves an open internet and protects locals against the sort of privacy intrusions revealed by Edward Snowden.
The Brazilian President Dilma Rousseff, who was revealed to have been spied on by the US as part of the Snowden leaks, will sign the bill, called the Marco Civil, on Wednesday and talked up its benefits on Twitter.
"I salute the Senate for approving the #MarcoCivil, fundamental step with the guarantee of freedom, privacy and rights and respect for the internet user," she wrote.
"The #MarcoCivil ensures net neutrality is fundamental to the maintenance of free and open nature of the Internet " she said, adding that she hoped that other countries would follow the Brazilian lead.
The Senate introduced the signing of the bill today and continued the net neutrality theme.
"The rule provides equal treatment for all content that travels on the internet, regardless of source, destination , content, service, or terminal application," it said.
As well as protecting openness on the web the bill also offers privacy protections, and the Senate said that citizens' privacy is guaranteed.
"Another point is to guarantee data privacy of the citizen," it added. "The text states that companies develop mechanisms to ensure, for example, that the emails are only read by the senders and the recipients of the message."
Pressure group Article 19 supported the adoption, and welcomed it in a statement on its website.
"The law recognises that freedom of expression is fundamental in order to exercise the right to access the internet. It also places the liability for content on users and not on service providers, and legislates for net neutrality among other positive steps," said Paula Martins, South America director.
"We commend the Brazilian government for including civil society voices and opinions in the development of the law."
Last year Edward Snowden offered to help Brazil deal with the issue of snooping but said he could not because he was not allowed to travel. He told the country, which has been named in his PRISM leaks and was considering its own internet, that changes must happen.
"If Brazil hears only one thing from me, let it be this: when all of us band together against injustices and in defense of privacy and basic human rights, we can defend ourselves from even the most powerful systems," he said last December.
European Commission vice president Neelie Kroes also welcomed the news on her Twitter page.
BT wants to make the public switched telephone network history within eight years
Personal data being purloined by third parties via Facebook Login API
MacOS and iOS are better off apart, says CEO Tim Cook
Or they'll no longer be entitled to updates and bug patches