The front pocket is the safest way to keep your wallet safe. Choose a small card holder that is rigid (made from aluminum or carbon fiber) and keep it secure in your front pocket. If you have a back pocket with a button in your pants, you can keep it also, but remember that pickpocketers are professionals and can steal it without noticing.