Born & Raised here; the areas you plan to be are fine. In fact I think your SF friend has a higher chance of her car being broken into.
Like any big city it has its good and bad, stay away from the Tenderloin, South of Market areas and you should be good. Unfortunately those areas also border some "good" areas too.
Situation awareness, anywhere, is required. YMMV.
Enjoy your stay.