Are these window bars to stop people breaking in or to stop people removing items

I would imagine these bars are not so good if you get caught inside with a raging fire or some deranged maniac chasing you with a knife