The law, which took effect this month, bans the transfer of any information related to national security and interests, without defining those terms, while broadening the definition of spying to include cyber attacks against state organs or critical infrastructure.

Ministry officials headed by assistant commerce minister Chen Chunjiang met with the U.S., European, Japanese and South Korean chambers of commerce, as well as 30 foreign firms, it said.

Chen said China is committed to creating a fair, transparent and predictable business environment.

President Xi Jinping's increasing focus on national security - in particular a recent crackdown on consultancies and due diligence firms - has left many foreign companies uncertain where they might step over the line of the law, foreign chambers of commerce have said.

The new legislation grants authorities carrying out anti-espionage investigations access to data, electronic equipment, information on personal property, and grants them the authority to apply exit bans.

(Reporting by Joe Cash; Editing by Andrew Heavens and John Stonestreet)