Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Untainting cookiesby kha0z (Scribe) |
on Apr 11, 2001 at 09:02 UTC ( [id://71591]=note: print w/replies, xml ) | Need Help?? |
Another thing to consider, depending on the level of security that you want, is using a simple digest or even the crypt function.
Additionally, if all you are doing is tracking a user and unique id number (such as 9 digit number similar to a social security number) might do the trick. As merlyn stated the easiest way is to generate characters that are easier to match with regex. If not maybe you should revisit your regex and develop one that will "untaint" all base64 characters.
Good hunting,
In Section
Seekers of Perl Wisdom
|
|