If you can run a few lines of electric fencing low to the ground around your enclosure this can help in deterring Badgers. We have a badger sett above our sheep fields. They're on the move soon, they don't know it yet but they're going to be evicted.
Foxes, we have loads of rabbits this year so it reduces the risk of taking lambs to a degree. 'Eliminate' them to reduce numbers unless you're near to one of those urban fox release plan things then eliminate them as well.