The 'Marco Civil da Internet' bill was signed into law in April by President Dilma Rousseff, and defines the duties and rights of Internet users and providers.
The new online regulations came into effect Monday.
Online security and privacy issues attracted attention in late 2013 after reports that the US government had spied on Brazil's private communications, including e-mails and phone calls.
The reports said that President Rousseff, government officials, and Petrobras, Brazil's state-controlled oil and gas company, were targeted.
The new law means providers can sell Internet access services based on maximum speed, but cannot restrict content.
To ensure users' privacy on the web, Internet providers, for example, are forbidden from spying on the content that their clients access.
Companies are also forbidden from selling people's personal data.
In a move to ensure freedom of expression, companies cannot remove content posted by users without a court order.
Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.
Supernova’s First Moments Show Olive-Shaped Blast in Groundbreaking Observations
Intense Solar Storm With Huge CMEs Forced Astronauts to Take Shelter on the ISS
Nearby Super-Earth GJ 251 c Could Help Learn About Worlds That Once Supported Life, Astronomers Say
James Webb Telescope May Have Spotted First Generation of Stars in the Universe