Sanitizing Barrels

I’m interested in picking up an oak barrel for conditioning / aging. But I’m wondering how one goes about sanitizing a barrel. Wood tends to harbor bacteria and leftovers from your last batch.

What is a reliable technique for sanitizing barrels?

As long as SO2 levels are maintained by properly storing with storage solution when emptied and never stored dry, spoilage organisms shouldn’t be much of an issue.