The restriction applies to those who have security clearance. Even if they see a secret revealed in the media, they cannot confirm it or talk about it.
I had a funny argument with somebody last year that told I could be charged for releasing information about Hilary’s health.
I told him to bring charges because I did not sign confidential information agreement to not release any information.
From what I understand, a citizen can speak about it, if they came across information about it.