Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Form Validation and Untainting

by hakkr (Chaplain)
on Feb 11, 2005 at 17:50 UTC ( #430190=note: print w/replies, xml ) Need Help??


in reply to Re: Form Validation and Untainting
in thread Form Validation and Untainting

This is maybe a bit outthere/overkill for small systems but it could save you some code logic and is portable.

1. Define XML docs and XML schema for your all forms and use XSLT to generate your form pages.
2. use XML::Xerces to validate user input against the schema

Of course you are slightly restricted in what you can validate by the XML schema language

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://430190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-02-08 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?