Public transportation in San Francisco is a bit more dangerous than walking the streets. However, this is also true for other major cities, inevitably because of the nature of public transit. If you're concerned about public transit, you can rent a car, but we highly suggest getting a hotel with valet parking if that's the case due to the high number of car break-ins.