I came across an abandoned camp in the Canadian Rockies that had been using five gallon buckets for food storage and it looks like the bears had no problems getting into those, If you are using a bucket you would need to burry it and even then no guarantees.