In reply to novice10:
I spent 6 months in the Appalachian mountains where there are a lot of Black Bears and you had to hang your food. Someone that year slept with their food in their tent in the smoky mountains and got bit through the side of their tent and ended up in the local hospital. Also came across a problem bear which ended up getting euthanised by the park authorities.
Minimising human-bear interaction is the goal, as they eventually learn they are a lot bigger, faster, stronger agile, and pointier than we are.
I'd recommend a fair bit of research, as there are things which create smells which you might not consider and are just as interesting to bears as food (toiletries, the stuff you cook with, even batteries). Try to limit your drinks to just water or you'll have to hang your bottles too.
The method of hanging has an art to it. You want to hang it from a limb which is far enough out from the tree that a bear can't reach it from the trunk, and on a branch which is flimsy enough that they wouldn't consider climbing along it. If the bears you are going to encounter are smart, there is a method widely used on the west coast: https://theultimatehang.com/2013/03/19/hanging-a-bear-bag-the-pct-method/
Basically, the bears there learned that if they cut the cord then the bag will fall to the ground and they get their reward.
The problem bear I had interaction with had learned that if it climbed up a nearby larger tree and jumped onto the bags below, basically destroying the tree limbs in the process, it got the food. It was a big bear and I can tell you it was a terrifying thing to hear going on (having had to scare it off multiple times the evening before). I didn't get a lot of sleep that night.