Again, making them non-tasty by using pet sprays designed for that purpose (bitter apple, IIRC) or even, as also suggested, hot sauce, would probably work. I imagine that the bad taste will eventually wear off, but as long as you keep it tasting bad for a good while, I doubt that the animal will go back to trying later.
_________________________
Bitt Faulk