Welcome Guest, Not a member yet? Register   Sign In
Security in CodeIgniter
#1

[eluser]Iwasignited[/eluser]
Hello everyone,
Im very new to CodeIgniter and PHP.
Now, Im following Jeffrey Way's tutorials to build my first web application.
The tutorials seem to have lack of security stuffs.
Please anyone show me how you secure your application in CodeIgniter after building it.
Looking forward to hearing from you soon.
Best Regards.
#2

[eluser]Sbioko[/eluser]
CI applications is automatically secured. You need to enable global XSS cleaning in config.php.
#3

[eluser]Peng Kong[/eluser]
Also remember to safe guard against SQL Injection by
using CI's database active record class to build you SQL queries.
if you must type raw queries remember to use escape them with something like $this->db->escape()

security is a huge topic... there isn't a 3-step program to making your app 100% secure.
If you're interested i suggest reading wikipedia's web security exploits and think about how you are going to protect against each attack.
http://en.wikipedia.org/wiki/Category:We...y_exploits
#4

[eluser]Iwasignited[/eluser]
thank you all Smile




Theme © iAndrew 2016 - Forum software by © MyBB