22.04.2013 Views

HTML, XHTML & CSS

HTML, XHTML & CSS

HTML, XHTML & CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14: Working with Forms<br />

In addition, many Web-oriented development environments, such as Visual<br />

Studio, Web Expressions, ASP.NET, and so forth also include extensive form<br />

design and processing components. These work like frameworks, too, but<br />

generally require you to work within their overall environments to take<br />

advantage of their often awesome capabilities.<br />

CAPTCHA This!<br />

CAPTCHA stands for completely automated public turing test to tell computers<br />

and humans apart — in other words, it’s a way of interacting on the Web that<br />

permits developers to assume (with great assurance) that the entity typing<br />

input on the other end of a remote connection is a person and not a program.<br />

CAPTCHA is an important technique used to verify that a person is providing<br />

input (especially, updating sensitive or valuable information) to a Web form<br />

or other user input mechanism. The reason for this technology is to stymie<br />

spammers and phishers from creating bogus e-mail addresses and Web<br />

accounts that they can then use to pursue their own malicious ends. You<br />

may not need to use CAPTCHA on your Web pages, but you need to know<br />

what it is and why it’s important.<br />

Basically, CAPTCHA works by bending text in wavy lines and overlaying<br />

extra strokes or black marks, so that while humans can read the copy they<br />

must enter at the keyboard to prove their intelligence is at work, computer<br />

programs generally can’t decipher and regurgitate the text involved. The<br />

standard example from www.captcha.net appears as Figure 14-16 with the<br />

words “overlooks inquiry” subjected to the aforementioned treatment.<br />

Figure 14-16: The CAPTCHA<br />

example from the home page<br />

at www.captcha.net.<br />

The Web site at www.captcha.net explains the technology in more detail,<br />

and goes on to describe how you can use it to add another level of authentication<br />

to your Web pages. It’s not necessary for simple forms, but any time<br />

you let users set up accounts, manage account info, or access sensitive data<br />

(personally identifiable information, or PII, such as Social Security numbers,<br />

credit card numbers, account numbers, and so forth, are prime targets for<br />

such protection), it’s a good idea to put CAPTCHA in the way of would-be<br />

evildoers.<br />

249

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!