How to prevent action from automated softwares, spams or viruses?