run a hot pile. I've never seen a critter willing to take steam burns to fish out something that 'might' be tasty.
If you're dealing with drought conditions and everything's starving to death, it might happen, but it's simple to keep creatures out of it....dig a hole in the top center of your pile, and bury the additions well.
I've done the same thing for about 12 years, and despite us having all manner of strays in the neighborhood, there hasn't been so much as a stray rat digging in the pile. and I've put in 'everything' from cat manure (my hot pile is based off my peat catbox) to kitchen scraps, to the occasional semi-drunk stagger outside at 3 am, to small dead animals, to fast food leftovers, to bacon grease, to pretty much anything organic. (I do keep plastic out of it, but pretty much anything else is game. turkey skeletons that I've boiled for stock, stripped, scraped, boiled ham bones.....) The mantra is 'bury it deep, cover it well, and there's nothing to smell, so the coons can go to hell' If there's nothing to smell, then the critters won't dig there either. If you just chuck the bones, or all the 'banned items' that will supposedly end the world on top of the pile, and don't cover them? yeah, you're likely to have a problem, but bury it well, and call it a day.
one of the other things for 'deterrent' effect (and lots of nitrogen) is once a month, dump a gallon of 'recycled beer' into the top of the pile. (and no, it doesn't make your backyard smell like a latrine. dig a small hole, pour it in, backfill the hole and toss some dry leaves or sawdust or hay or whatever cover material you like over it. it's fine.)