This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "OWASP PureCaptcha"
From OWASP
Abbas Naderi (talk | contribs) m (→Road Map and Getting Involved) |
Abbas Naderi (talk | contribs) (updated reop links to OWASP github) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| valign="top" style="border-right: 1px dotted gray;padding-right:25px;" | | | valign="top" style="border-right: 1px dotted gray;padding-right:25px;" | | ||
− | + | Welcome to OWASP Pure Captcha project page! | |
==OWASP PureCaptcha == | ==OWASP PureCaptcha == | ||
Use CAPTCHAs in your application without any dependencies, no required libraries and nothing to install. Just include a single small source-code file to have fully functional lightweight CAPTCHAs in your project. | Use CAPTCHAs in your application without any dependencies, no required libraries and nothing to install. Just include a single small source-code file to have fully functional lightweight CAPTCHAs in your project. | ||
Line 26: | Line 26: | ||
== Project Resources == | == Project Resources == | ||
− | [https://github.com/ | + | [https://github.com/OWASP/PureCaptcha Download] |
− | [https://github.com/ | + | [https://github.com/OWASP/PureCaptcha Source Code] |
== Project Leader == | == Project Leader == | ||
Line 37: | Line 37: | ||
== Related Projects == | == Related Projects == | ||
[[OWASP PHP Security Project]] | [[OWASP PHP Security Project]] | ||
+ | |||
+ | [[CSRFProtector Project]] | ||
==Classifications== | ==Classifications== | ||
Line 56: | Line 58: | ||
|} | |} | ||
+ | = Documentation = | ||
+ | |||
+ | There are basically three operations needed to properly utilize CAPTCHAs: | ||
+ | |||
+ | * Generating A Captcha | ||
+ | This can be done by the '''show''' method of PureCaptcha. It will terminate the current request and return an image to the client. | ||
+ | * Persisting The Captcha Value | ||
+ | The '''show''' method also returns a string equal to the Captcha contents. You need to persist it on the session for the user (preferably for a limited amount of time). The example code shows how this can be done simply in your programming language, but any other persistence layer would be fine. | ||
+ | Keep in mind that for every Captcha used inside your application (e.g one for login page, one for password reset page, one for remove user page) you should persist the Captcha separately, so that a user can simultaneously use all your applications functionalities without one Captcha overriding the expected value for the other. | ||
+ | * Validating The Captcha | ||
+ | '''It is very important to remove the Captcha from persistence after its validated, whether its wrong or right.''' If you leave a Captcha persisting after validation, attackers can bypass your Captcha by inspecting it once and then using the same Captcha over and over to send requests to your application. See the example usages for more details. | ||
=FAQs= | =FAQs= | ||
Line 72: | Line 85: | ||
<!-- Instructions are in RED and should be removed from your document by deleting the text with the span tags.--> | <!-- Instructions are in RED and should be removed from your document by deleting the text with the span tags.--> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
The first contributors to the project were: | The first contributors to the project were: | ||
Line 110: | Line 116: | ||
</ul> | </ul> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{:Projects/OWASP_Example_Project_About_Page}} | {{:Projects/OWASP_Example_Project_About_Page}} |
Latest revision as of 17:43, 12 November 2014