Google announced recently that it would provide its users with online security warnings if they believe they are the targets of government spying.