Mercurial > hg > CAPTCHAmiddleware
annotate README.txt @ 5:6c6766109dac
adding README.txt and use it in setup.py long_description
author | k0s <k0scist@gmail.com> |
---|---|
date | Wed, 24 Feb 2010 20:21:47 -0500 |
parents | |
children | 015875d43b91 |
rev | line source |
---|---|
5
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 CAPTCHA Auth Middleware |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 ======================= |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
3 |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
4 CAPTCHAauthmiddleware is a WSGI middleware python packages for putting |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
5 CAPTCHAs on forms for unauthorized users (those that haven't logged in |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
6 yet). If you aren't authorized -- in python terms, if remote_user is |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
7 not set on the request -- then CAPTCHAs and a hidden key will be added |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
8 to forms with ``method=POST``. You will be required to correctly |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
9 solve the CAPTCHA in order to submit the POST request. Otherwise, the |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 CAPTCHAauthmiddleware will stop your request and redirect you back to |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 the form. |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
13 |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
14 What are CAPTCHAs? -or- I hate those things |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 -------------------------------------------- |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
16 |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
17 CAPTCHAs are admittedly imperfect ways of telling humans and computers |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
18 apart. Presumedly if you are already identified (logged in), then the |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 computer is satisfied that you are you. But what if you want to make |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 an anonymous comment on someone's blog post? In a perfect world, |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 there would be no CAPTCHAs. In the real world, there is SPAM. So if |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
22 I want to protect my blog from SPAM-bots, I need to do something. |
6c6766109dac
adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
23 Again, CAPTCHAs aren't perfect, but they're at least something. |