Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-08-08 Thread owasp
You may also want to investigate PHP-IDS.  It was quite a popular topic at BlackHat/DefCon USA this year: http://demo.php-ids.org/ --- On Thu, 8/6/09, Gunwant Singh wrote: From: Gunwant Singh Subject: Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP To: "amar wakharkar"

Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-08-06 Thread amar wakharkar
Dear Abhi, Visit Following Page, http://www.owasp.org/index.php/XSS_Prevention > From: abhishek.l...@gmail.com > Date: Mon, 3 Aug 2009 10:11:17 +0530 > To: gunwan...@gmail.com; owasp-delhi@lists.owasp.org > Subject: Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-08-06 Thread Gunwant Singh
> Date: Mon, 3 Aug 2009 10:11:17 +0530 > > To: gunwan...@gmail.com; owasp-delhi@lists.owasp.org > > Subject: Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP > > > > > Hi list, > > > > I do have an idea about Regular expressions and its usages in preven

Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-08-05 Thread Abhishek Kumar
Hi list, I do have an idea about Regular expressions and its usages in preventing XSS and SQL injection. but the thing is, I want a function which is already written in a compact manner so that it tackles all XSS and SQL injection problems. As a newbie perhaps I would miss some conditions/"malic

Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-08-03 Thread Gunwant Singh
OK, If you are looking for a piece of cake, then I would suggest you to "include" functions in your code that have already been built by experts for input/output validation anterior to be included in the PHP distributions. You would not be able to find any built-in security input/output validation

Re: [Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-07-31 Thread Gunwant Singh
Do you have any idea on 'Regular Expressions'? On Wed, Jul 29, 2009 at 8:13 PM, Abhishek Kumar wrote: > hi list, > I am looking for code for sanitizing each and every input for SQL injection > and XSS in PHP > > I need a function say sanitize(), where would be a > value which user is supplying i

[Owasp-delhi] Need Code for sanitizing inputs in PHP

2009-07-30 Thread Abhishek Kumar
hi list, I am looking for code for sanitizing each and every input for SQL injection and XSS in PHP I need a function say sanitize(), where would be a value which user is supplying in the web page. this sanitize function should return the sanitized value after removing all possible sql injection