Вопрос

I'm looking for a Captcha (SimpleCaptcha or JCaptcha) widget for GWT. I've found examples online, but they all use servlets to generate and validate the Captcha. Are there any client-only Captcha implementations?

Это было полезно?

Решение

A CAPTCHA has to be generated server-side because of the implicit security. There's no way to be positive that anything client-side is secure. Since GWT client code gets turned into Javascript, it's feasible that it can be modified. Potential for modification means potentially insecure content. That's why implementations like this all use server-side code to generate, pass down as an image, and validate all CAPTCHAs.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top