XSS PreventionXSS means cross-site scripting. CodeIgniter comes with XSS filtering security. This filter will prevent any malicious JavaScript code or any other code that attempts to hijack cookie and do malicious activities. To filter data through the XSS filter, use the xss_clean() method as shown below.$data = $this->security->xss_clean($data);You...
Showing posts with label CodeIgniter Security. Show all posts
Showing posts with label CodeIgniter Security. Show all posts
11 December, 2018
CodeIgniter - Security
Programing Coderfunda
December 11, 2018
codeigniter, CodeIgniter Security
No comments
XSS Prevention
XSS means cross-site scripting. CodeIgniter comes with XSS filtering security. This filter will prevent any malicious JavaScript code or any other code that attempts to hijack cookie and do malicious activities. To filter data through the XSS filter, use the xss_clean() method as shown below.
$data = $this->security->xss_clean($data);
You...