I've been put in the stocks, but I'm worried about passers by assaulting me. Is there a limit to what they are permitted to do?

by Mikeosis

What the title says basically. My girlfriend and I were just wondering what was to stop people, especially the victims of the crime, severely hurting the prisoners.

Edit - I'm thinking Medieval England here

Searocksandtrees

Hi OP, customs are dependent on culture, so if you could give us an idea of which jurisdiction (country/region) and time period you're asking about, that would greatly assist anyone considering answering. Thanks!