in reply to Re: Taint checks on passwords?
in thread Taint checks on passwords?
I am actually basing this on what I remember from reading said tutorial by Ovid, where you don't specify what you don't want (which is complicated) but rather specify only what you DO want, and your error message does not give away TOO much information about what went wrong to the user.my ($checked) = $submitted =~ m/^([a-zA-Z0-9])$/; if (!defined $checked) { croak "Invalid name or password.\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Taint checks on passwords?
by monsieur_champs (Curate) on Jun 04, 2003 at 17:48 UTC |