Especially when you are traveling it is important to not put all eggs in one basket. If you loose the basket you loose all the eggs. The same goes for cash. Divide it among different pockets and your socks. Put an amount you think may satisfy a robber, and that you can afford to loose, somewhere normal, like in a trouser pocket. If you are robbed, that's the money you give away.
Do the same if you have more than one credit card. Split and put them in different places.