There are a number of options including travellers’ cheques, credit cards, prepaid cards and debit cards. You are right to think that cash is a more risky option, as it will be easy to lose.  Whatever option you choose, make sure that you keep all valuables, including cards and wallet, in your hotel safe whenever you are not using them.  If you are using a credit card, choose one that does not make extra charges for using it abroad, and remember to choose the option to pay in the local currency, as you will receive a better foreign exchange rate.