I would have a bear proof fence!!!
That's pretty much impossible. They can climb anything. Any fence that might have a chance to stop them would not be permissible. 10 foot + razor wire might work :)
Besides, you just take precautions and secure your food/garbage and put bars on windows that make for easy access. Had a bear almost get in through our kitchen window one night. Wife ran it off with a bat. Bars are on that window now :)