I grew up on a farm that had osage orange trees that had originally been planted years before as a property boundary line between two farms. They were very common in our area. Lots of farms had them. They were pretty effective too, as they had plenty of nasty thorns.
My Dad also had a small hedge as a boundary for our yard. There was a huge walnut tree next to it, and I found out the hard way how bad the thorns of the hedge were. I loved climbing trees and fell out one day landed on my backside on a torn that was sticking straight up in the air.
Boy was that painful. Most of the old hedge rows have now been torn down since so many family farms are now kind of non existent any more.