Results 1 to 6 of 6
  1. #1
    JJay84 is offline Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    0

    Default How to create CAPTCHA in Java

    As title, have anyway to create CAPTCHA in Java (offilne)?
    or have any other method to create similar thing like the CAPTCHA?

    Thank for any help you can give and hoping you all can provide the source code to me.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default

    hoping you all can provide the source code to me.
    Don't hold your breath

    db

  3. #3
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    As stated many times before, this forum is not a source code generator, we will, however; help you, but you will be doing the work.

  4. #4
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

    Default

    Quote Originally Posted by sunde887 View Post
    As stated many times before, this forum is not a source code generator, we will, however; help you, but you will be doing the work.
    I have no idea but I also want to know about that how can this be done?

  5. #5
    imorio is offline Senior Member
    Join Date
    Aug 2010
    Posts
    127
    Rep Power
    0

    Default

    captcha works like this: they scan books for words, then they take 2 words, one they know the meaning of and one they just scanned. They use the word they know the meaning of to check if the user is human, then they save the answer for the scanned word. They let multiple users type the answer for the scanned word, and after several user retyped the word, they use those answers to determine what the word is. That is then the answer for that scanned word and they know now what is should be.

    However they have millions of users typing in captcha's everyday. So it can work on that scale. You can at most do a very simple captcha:
    1. generate a random string
    2. draw it as a image
    3. try to make the image a bit hard to read
    4. you have your captcha

    This should be enough to get you on your way, if this seems to hard for you (especially doing step 3 good is over my head), you can always just manually copy 10 captcha pictures and determine what they say yourself, then hardcode those into your program. Bad security, but it is something.

  6. #6
    JJay84 is offline Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    0

Similar Threads

  1. Create Web Browser in Java
    By rao2141 in forum Forum Guides
    Replies: 0
    Last Post: 10-15-2010, 02:48 PM
  2. Looking for an accessibly captcha (with audio support)
    By ssrc in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2009, 02:14 AM
  3. Replies: 1
    Last Post: 07-20-2009, 10:58 PM
  4. can you create a .exe with java?
    By seandingobat in forum New To Java
    Replies: 5
    Last Post: 10-21-2008, 02:35 PM
  5. Create GIF from JPG using Java
    By trivektor in forum New To Java
    Replies: 2
    Last Post: 10-10-2008, 02:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •