They are hacking your account because you were stupid enough to visit their website and/or buy their gil. It's how their system works. Hack the buyers' accounts to sirculate the gil/gold = less work for them. All profit, zero loss. Been like that since i first saw them appearing back in 1999.
There's no rule saying you can't use your brains and stop to think for a second. Hindsight won't help you anyways.
In conclusion. There's no protection from stupidity.
