The levels of security in a prison system are categorized differently around the world, but tend to follow a distinct pattern. Most developed countries divide prisons into separate security classes depending on the inmate population and the security needed to keep them under control.