|
|
Choosing A Webhost: |
Re: RFC: CGI::Application::Plugin::CAPTCHA: msg#00133lang.perl.modules.cgi-appplication
Tony Fraser wrote: On Fri, 2005-08-26 at 14:35, Michael Peters wrote: Time to add my two cents: 1) since the whole business is about preventing spamming, saving images on disk is actually a BAD idea: if a robot hits your script repeatedly, you'd end up with tons of uselessly generated images, which waste both processing power and disk space. 2) Since these images get used once, and only once, it makes perfect sense to only generate them when they're really needed. I think that puts me firmly in Michaels camp :) To me that leaves 2 choices: The plaintext string would be what, 8 bytes? How big would the image be, 3Kb? Easy choice there. If you put the info required to generate the image in the query string Depends on the form in which you pass that information. If you use a decent two-way encryption, there's no harm in my opinion. That way you don't even have to store anything on the server: pass the encrypted text both in the form (hidden) and in the captcha_create url. When you get the form data, see if encrypted and plaintext match. Simple and clean. Rhesa --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: RFC: CGI::Application::Plugin::CAPTCHA, Dan Horne |
|---|---|
| Next by Date: | Re: RFC: CGI::Application::Plugin::CAPTCHA, Tony Fraser |
| Previous by Thread: | RE: RFC: CGI::Application::Plugin::CAPTCHA, Dan Horne |
| Next by Thread: | Re: RFC: CGI::Application::Plugin::CAPTCHA, Tony Fraser |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |