quello che ti serve e' un captcha...trovi enormi biblioteche sull'argomento, anche qui sul forum di html.it