Codeigniter : the security and the magic of hook

5,504 views
5,250 views

Published on

Codeigniter : the security and the magic of hook

Published in: Technology, Business
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,504
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
72
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

Codeigniter : the security and the magic of hook

  1. 1. CodeIgniter The Security & The Magic of Hook Abdul Malik Ikhsan
  2. 2. Security Class
  3. 3. Security Class ~ CSRF Protection (1) Activate It
  4. 4. Security Class ~ CSRF Protection (2)
  5. 5. Security Class ~ CSRF Protection (3)
  6. 6. Security Class ~ CSRF Protection (4) First Request Second Request
  7. 7. Security Class ~ XSS Filtering (1) Activate It
  8. 8. Security Class ~ XSS Filtering (2) Testing…
  9. 9. Security Class ~ XSS Filtering (3) Dan Hasilnya…
  10. 10. Security Helper xss_clean() sanitize_filename() do_hash() strip_image_tags() encode_php_tags()
  11. 11. The Hook ( 1 ) Fitur Hook memungkinkan kita memanggil “script” pada saat sebelum sistem flow berjalan, sebelum action controller dipanggil, setelah action controller dipanggil, ataupun setelah sistem flow berjalan.
  12. 12. The Hook ( 2 ) Enable It
  13. 13. The Hook ~ The Example ( 1 )
  14. 14. The Hook ~ The Example ( 2 ) Tambahkan pada hooks config
  15. 15. The Hook ~ The Example ( 3 )
  16. 16. Terima Kasih
  17. 17. This presentation contained copyrighted material licensed undervarious creative commons licenses unless otherwise noted:Photos http://images2.wikia.nocookie.net/__cb20070120193457/uncy http://www.flagship-housing.co.uk/image/Help%20and%20suReferences CodeIgniter User Guide http://samsonasik.wordpress.com

×