• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xss_clean

#1
[eluser]cupidleomanoj[/eluser]
hi ,
Am new to CI, in the form validation I came across xss_clean, can any one tell me clearly what is the purpose of using xss_clean, i have read the core documents regarding this, but still am struck through it. please any one help, thanks in advance

#2
[eluser]Mikhail Menshinskiy[/eluser]
Example.

Original code:
Code:
<script type="text/javascript">
alert('JS attack');
</script>

After applying xss_clean() will be:

[removed]

alert('JS attack');

[removed]

#3
[eluser]Atharva[/eluser]
Get to know about XSS (Cross Site Scripting) attacks here


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.