Avoiding rats, flies and odours

The YOLO Compost Tumbler should be mounted on a wall or kept on its stand. Both keep it off the ground and inaccessible to rodents. How then do you keep your compost contents free of flies and bad odours?