Prisoners still retain their rights to other fundamental protections and freedoms, such as freedom from cruel and unusual punishment, freedom of religion, the right to legal representation, and the right to due process, even though the state is allowed to deny a person certain rights to liberty and property under criminal justice laws.