I'd say that your best defense would be good strong fencing!

If you don't want to keep them out of the garden you could try just covering things that you think will be particularly attractive to them.