Web inventor Sir Tim Berners-Lee slams UK and US net plans
The web's creator has attacked any UK plans to weaken encryption and promised to battle any moves by the Trump administration to weaken net neutrality.
Sir Tim Berners-Lee was speaking to the BBC following the news that he has been given the Turing Award.
It is sometimes known as the Nobel Prize of computing.
Sir Tim said moves to undermine encryption would be a "bad idea" and represent a massive security breach.
Home Secretary Amber Rudd has said there should be no safe space for terrorists to be able to communicate online. But Sir Tim said giving the authorities a key to unlock coded messages would have serious consequences.
"Now I know that if you're trying to catch terrorists it's really tempting to demand to be able to break all that encryption but if you break that encryption then guess what - so could other people and guess what - they may end up getting better at it than you are," he said.
Sir Tim also criticised moves by legislators on both sides of the Atlantic, which he sees as an assault on the privacy of web users. He attacked the UK's recent Investigatory Powers Act, which he had criticised when it went through Parliament: "The idea that all ISPs should be required to spy on citizens and hold the data for six months is appalling."
In the United States he is concerned that the principle of net neutrality, which treats all internet traffic equally, could be watered down by the Trump administration and the Federal Communications Commission.
"If the FCC does move to reduce net neutrality I will fight it as hard as I can," he vowed.
The web's creator also said he was shocked by the direction the US Congress and Senate had taken when they voted to scrap laws preventing internet service providers from selling users' data.
He said privacy online was as important as the trust between a doctor and a patient.
"We're talking about it being just a human right that my ability to communicate with people on the web, to go to websites I want without being spied on is really, really crucial."
Last month, in an open letter marking the 28th anniversary of the web, Sir Tim warned about the problem of fake news spreading online.
He repeated those concerns and said there might be a design flaw in some web services: "Fake things, false things tend to propagate more than truth and in a way maybe hatred tends to propagate in some cases more than love."
He added that everyone had a responsibility to address this issue, including the major technology companies.
"People who have created those various social networks need to sit back and look at the way they are being built," he said.
Sir Tim said it was a "massive honour" to win the Turing Award, which is given by the Association of Computing Machinery.
The prize, now in its 50th year, is widely recognised as the most prestigious in computing.
Past winners include Vint Cerf and Bob Kahn, considered the "fathers of the internet;" and the artificial intelligence pioneer John McCarthy.
The citation for Sir Tim Berners-Lee reads: "For inventing the world wide web, the first web browser, and the fundamental protocols and algorithms allowing the web to scale."
In recent years, Google has sponsored the prize which now includes a cheque for $1m (£803,000). That will be handed over in a ceremony marking 50 years of computing innovation in San Francisco in June.