Security to be tightened around prisons to curb jailbreaks