Re: Re: Trying to avoid code exploits..

From: Date: Wed, 01 Aug 2001 13:05:17 +0000
Subject: Re: Re: Trying to avoid code exploits..
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-60641@lists.php.net to get a copy of this message
On Wednesday 01 August 2001 13:51, Meir Kriheli wrote: > I'm writing a form class which can also validate the form and I want to > define the rules for validating the forms, so when defining the form I can > add... Sorry - I should have read your earlier post :) I suspect that you are probably safe in this instance, however I always play safe on this kind of thing and sacrifice functionality for security. I'm sure you can devise rules which will be be obviously unsafe, but you may also be able to devise rules which look safe on the surface, but may be exploitable after careful study. If it was my project, I think I would devise a system which avoided the use of eval - even if it meant losing some performance and versatility. Cheers -- Phil Driscoll

« previous php.general (#60641) next »