BRUSSELS (Reuters) – Amazon, Microsoft, other cloud services providers and data processing service providers will have to adopt safeguards to prevent non-EU governments gain illegal access to EU data, according to European Commission draft rules.

The Data Act, published on Wednesday, lays out rights and obligations on the use of data from consumers and companies in the 27-country European Union in smart gadgets and machinery as well as consumer goods, confirming a Reuters story.

It is part of a series of rules aimed at curbing the power of U.S. tech giants and help the EU achieve its digital and green objectives.

“We want to give consumers and companies even more control over what can be done with their data, clarifying who can access data and on what terms,” the Commission’s digital chief Margrethe Vestager said in a statement.

EU concerns about data transfers have grown since former U.S. intelligence contractor Edward Snowden in 2013 revealed mass U.S. surveillance.

This led Europe’s top court to outlaw a transatlantic data transfer pact known as the Privacy Shield which thousands of companies depended on for services ranging from cloud infrastructure to payroll and finance.

The United States and the EU have since then been struggling to find a new data agreement. The EU executive said the new rules will free up a huge volume of data for use and expected to add 270 billion euros of additional gross domestic product by 2028.

The Data Act also imposes contractual requirements and interoperability standards on cloud and edge services to make it easier for companies to switch to a rival and data to be used between sectors.

Users of connected devices will be able to access data generated by them, which typically is only accessible to the device makers, and share it with other companies providing aftermarket or other data-driven innovative services.

Companies will be obliged to provide certain data to governments during public emergencies such as floods or wildfires.

The Data Act will need to be thrashed out with EU governments and lawmakers before it can become law.

(Reporting by Foo Yun Chee, editing by Ingrid Melander)