in reply to Untainting safely. (b0iler proofing?)
For example if you accept a $q->param and send it back to the browser as a "Hello world" example, save for a 20Mb input, why would you need to untaint it?
If on the other hand, if you are calling the shell, you need to check for naughty characters.
So untainting your data depends completly on the context in which your application is developed.
I think you *may* be getting confused between untainting and data validation. There is a difference, the former making sure there are no naughty characters in your input, the later checking the data conforms to a standard.
Anyway's FWIW, i think a centralised method of data validation would be cool, however i dont think untainting can really be centralised outside of the context of the application for which its developed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Untainting safely. (b0iler proofing?)
by BrowserUk (Patriarch) on Jun 26, 2002 at 20:36 UTC |