PHP Security

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Thu Dec 22, 2005 7:31 pm    Post subject: PHP Security Reply with quote

I try to check all my scripts for potential vulnerabilities, but there is still a chance of one slipping through. The must common one seams to be inputs which aren't validated allowing the site visitor to run a command. Is there an program I can run on my windows box to watch for suspicious commands and block them? For example, if it sees "del c:\*.*" it would recognize that as something which should not be run and automatically block it.
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Dec 22, 2005 7:34 pm    Post subject: Reply with quote

Setting PHP to safemode is the best way to avoid this but it can cause problems to scripts that rely on commands that are deactivated when in safe mode.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Thu Dec 22, 2005 8:10 pm    Post subject: Reply with quote

Yeah, safe mode won't work for me as some scripts need to use commands blocked in safe mode. Is there a way to limit the commands a script can use?
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Dec 22, 2005 8:22 pm    Post subject: Reply with quote

You can turn the extension off but then some of your other scripts might not work.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group