Pick a camping spot well away from other people.
But the in the Banff and Jasper national parks they provide either lockers or a cable system to string up your stuff.
And remember ... it's not just your food, but anything with a scent - i.e. toiletries.