New restrictions placed on journalists by the White House and Pentagon have sparked concerns from media organizations.