GeeCON Prague 2014*
The moose likes Other Open Source Projects and the fly likes JCaptcha - How to avoid profanity/profane/obscene words Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JCaptcha - How to avoid profanity/profane/obscene words" Watch "JCaptcha - How to avoid profanity/profane/obscene words" New topic
Author

JCaptcha - How to avoid profanity/profane/obscene words

Subha Murthy
Greenhorn

Joined: Aug 16, 2005
Posts: 15
We have implemented JCaptcha in our website. But we came to know that it randomly generates some obscene words.
Is there any way we can block the profane content?

Any help will be highly appreciated.

Thanks,
Subha
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://forge.octo.com/jcaptcha/confluence/display/general/Change+the+Captcha+generation+configuration

Personally I wouldn't worry about it.
Subha Murthy
Greenhorn

Joined: Aug 16, 2005
Posts: 15
Thanks for the response David.

We have a pressing business need that we need to avoid this. I looked at the link that you posted.
Its about Changing the Captcha generation configuration. How can I be guaranteed that this new method doesn't give me any profane words?

Thanks,
Subha
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

...

By implementing a word generator that doesn't ever return "obscene" words, although quite frankly if you're using both random chars and numbers it seems *extremely* unlikely you'd ever get an "obscene" word.
Subha Murthy
Greenhorn

Joined: Aug 16, 2005
Posts: 15
Thanks David. Unfortunately we had an instance that we did get a call reporting profanity.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Then you'll just have to post-process the text creation and make sure there's nothing "obscene", although people can find something obscene in just about anything, so good luck.
Subha Murthy
Greenhorn

Joined: Aug 16, 2005
Posts: 15
Thanks David for your timely input.

-Subha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JCaptcha - How to avoid profanity/profane/obscene words