If I'm in a place I consider to be unsafe, I usually carry a "mugger's wallet" in my pants pocket with about $15 USD in singles and a few expired/useless cards. The real one I stash in an inside pocket.
I've never needed to use it but it seems a good idea.