Page 1 of 1

how prevent cross site scripting in XAMPP

PostPosted: 27. September 2013 07:13
by yudibagan
Dear Masters and Colleagues ,

Preventing cross site scripting or prevent illegal meta character due to secure web from sql injection etc , how implement this in XAMPP, ?

Thank a lot for the respons

Rgds

Newbie

Re: how prevent cross site scripting in XAMPP

PostPosted: 27. September 2013 13:46
by Nobbie
yudibagan wrote: Preventing cross site scripting


There is no action necessary for Apache, if there is a bug which allows cross site scripting on server level, report it to the development team of Apache. You cannot change it anway.

yudibagan wrote:or prevent illegal meta character due to secure web from sql injection etc , how implement this in XAMPP, ?


If you are planning to use PHP, there are some powerfull functions in PHP MySQL API to "clean" the request and avoid injections. Mostly, the reason for MySQL injections, is the (sad) fact, that many people do not use these functions.

See http://www.php.net/manual/en/mysqli.rea ... string.php for more information.