Our government used to have huge stockpiles of food/commodities, but not any more. Security, guns, ammo are needed no doubt. If someone still manages to take your food, just remember it could be worse they could have taken you life.
I read some diaries written during a famine. Cannibalism happened-sometimes within families. There were people who went crazy, because they couldn't live with what they had done. I just had to quit reading it.
During the civil war, the troops from the North and the South confiscated food to help supply their soldiers. So I think hiding stuff in various places is a good idea.
One would have to understand the ways that they might use to find food such as dogs, metal detectors, ground scanners, who knows what else, and be very wise on how to hide it. I wonder how one would hide food, etc. in ways that it couldn’t be found. If push comes to shove people need to use their brains, be very cunning and not act in out of haste and panic. The best thing is to have things planned out and worked out ahead of time.