Re: advice on sql injection/XSS prevention
| From: | Zoltán Németh | Date: | Thu, 05 Apr 2007 14:23:23 +0000 |
| Subject: | Re: advice on sql injection/XSS prevention | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252084@lists.php.net to get a copy of this message | ||
I think it is generally a Bad Idea to allow users to submit code into
your system...
you would be better off if you would provide some pseudo-coding
possibilities which would allow them to insert certain functionalities
into their content - with you providing the real code running behind and
replacing the pseudo-codes with the process results
greets
Zoltán Németh
2007. 04. 5, csütörtök keltezéssel 09.17-kor Bing Du ezt írta:
> Hi,
>
> I'm not an experienced PHP developer. We're hosting a content management
> system that allow authorized people to add PHP contents. Their PHP coding
> levels varies. Some are very security sensitive, but some are not. I
> want to know if PHP has any ready-to-use funtion to validate form input to
> help prevent SQL injection/XSS? So each programmer doesn't have to write
> their own form validation code. I'd appreciate any advice or pointers.
>
> Thanks in advance,
>
> Bing
>