Chain link fence (or something with similarly close wires), with added barbed wire? Briefly looking at UK law, I guess it would depend on how close the allotment is to a public highway. Also, whatever rules the allotment has.
RWs idea does seem easier!