I use electrified poultry netting and put hotwire on actual coops / pens.
When it comes to thieving, a hog farmer I worked with back in the 1990's has a sow coon go each night into his farrowing barn where she would grab live pigs pushing 10 lbs and drag them out side the building where she...