Gene Roddenberry said this quote

Technology would have long ago made privacy impossible, except that this had only made it more precious and desirable--and in the close confines of starship life, respect for another's privacy had become a powerful tradition.