Although most of Spain, and Basque Country in particular, are considered to be fairly safe for tourists, all people traveling abroad in any country need to take some precautions in order to avoid becoming a victim of the tourist-aimed crime that seems to affect more and more travelers all the time.  In order to do this in a place such as San Sebastian, where many tourists visit, try to avoid carrying more cash than you need, especially if you are out shopping or at the beach where there is little or no security.  Do not wear expensive jewelry, and if staying in a hotel be sure to make use of your hotel's safe for your valuable items.  Men should not carry wallets in their back pockets and women need to pay close attention to their bags while shopping and dining.  Backpackers should keep their packs locked, especially while they are wearing them.  Also, be especially alert in ferry ports, markets, and other places where large numbers of travelers congregate.