Jnr PHP/Codeigniter Developer Question:
Download Questions PDF

Please explain what are the security parameter for XSS in CodeIgniter?

Answer:

Codeigniter has got a cross-site scripting hack prevention filter. This filter either runs automatically or you can run it as per item basis, to filter all POST and COOKIE data that come across. The XSS filter will target the commonly used methods to trigger JavaScript or other types of code that attempt to hijack cookies or other malicious activity. If it detects any suspicious thing or anything disallowed is encountered, it will convert the data to character entities.

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is CodeIgniter?Do you know how can we get the IP address of the client?