8. (1) Persons sentenced to imprisonment shall be confined in the prison or in that part of the prison appointed for persons sentenced to that punishment, and they shall be subject to the restrictions prescribed in the prison regulations lawfully made.