Jordi P.S.
Jordi P.S.

Reputation: 4018

GAE Google App Engine Captcha for Java (no 3rd party)

I need a captcha solution for GAE in Java. My clients only have access to the IP in where my application is hosted so they can't rely on re-captcha or solutions of this kinds.

Since awt image classes are blocked. Do you know any easy solution for image generation ?

Upvotes: 1

Views: 592

Answers (2)

Jordi P.S.
Jordi P.S.

Reputation: 4018

I 've found a text-to-image library which works on GAE: Litetext

But it's not secure enough for a captcha.

Upvotes: 1

Adam Thomason
Adam Thomason

Reputation: 1003

You could build your own CAPTCHA images using the Images API. Preload one or more image per alphabet character into the Blobstore, then use a combination of the available transformations. These include resize, rotate, flip, crop, and composite, which will get you pretty far. The result probably won't be very resistant to concerted automated attack, but is better than nothing.

Upvotes: 0

Related Questions