The purpose of a prison is to hold those who have lost their rights because they have violated the rights of others. To fulfill their purpose, they must maintain a high level of security, both to prevent escape and to prevent further harm to the public. Pervasive and invasive surveillance of the prison population and facilities is a necessary consequence of their legitimate purpose.