Well, I don't know if flying is the same as being a prisoner.
However, I used to work occasionally in a maximum security prison. Security to get onto an airplane these days is orders of magnitude stricter than was security to get into this prison (as a contractor).