From what I heard, the guy who got bitten had a sliding glass door open, with only a screen door closed–the bear just pushed through it. the man was from Oklahoma and staying at the house for someone while they were out of town, so probably not very bear-savvy.
The guy next door where this morning’s bear was caught, has 5 foot cinder block and wrought iron fencing in the front where the bear entered–it appeared he just jumped/pulled himself over it as there was bear fur clinging to the cinder blocks—it was apparently attracted by bird seed feeders and hummingbird feeders in the yard.
It would be hard to erect any kind of barrier between the mountains and the city, due to the terrain, and it stretches for over 20 miles and parts of it would run through wilderness (no fencing, roads, etc.) and part through a major air force base.