British Prime Minister David Cameron has issued a warning of legal action against newspapers that don’t exercise “social responsibility” in reporting information gleaned from documents leaked by former U.S. National Security Agency (NSA) contractor Edward Snowden.

In a statement to parliamentarians on Monday, Cameron said that it could be necessary to use high court injunctions and so-called D-notices to block certain information from being published, The Guardian reports.

The warning follows a report in The Sun, in which a “top surveillance source” was quoted as saying that intelligence efforts were being hampered because terrorists had “gone quiet” after details about the NSA and the British intelligence agency GCHQ had been published.

In July, GCHQ officials oversaw the destruction of hard drives at The Guardian, after the newspaper printed stories based on Snowden leaks.