Welcome Guest, Not a member yet? Register   Sign In
Protection from SQL-injections and XSS-atacks
#1

I suppose codeigniter has built-in defense system, but how properly use it?
e.g. - we have user's input - Name, password, message?
Do i have to manually  call native php functions - 
strip_tags($_POST['name']);
htmlentities($_POST['name'], ENT_QUOTES, "UTF-8");
htmlspecialchars($_POST['name'], ENT_QUOTES);

Or CI - automatically checks that?

Can you explain everything in details, because - safety first☺
Reply


Messages In This Thread
Protection from SQL-injections and XSS-atacks - by glorsh66 - 07-13-2017, 10:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB