Welcome Guest, Not a member yet? Register   Sign In
Security Issues (input and output)
#1

I am new to CodeIgniter. Thanks for free registration.

I want to know the best practices for user input and outputting the data keeping security at the top priority that is how to prep the data to insert in DB and how to output the data in the HTML or JS. I want to avoid all known attack like SQL Injection, CSRF, XSS or any other.

I read about following but can't decide which one or combination is the best and when to use.
strip_tags()
filter_var()
HTML purifier
xss_clean()
csrf_protection in CI
htmlspecialchar()
Regex

Please Help.
Reply


Messages In This Thread
Security Issues (input and output) - by raghavgarg - 04-23-2016, 05:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB