11-30-2018, 05:21 AM
Hi Guys,
I am new in codeigniter. Any idea how prevent direct url access.
i can make crud opration project. for "View" or "Delete" Operation i want to prevent with CSRF token.
i want to prevent this. and same a delete.
CSRF enable in config file and CSRF token work with add, edit form
i want only direct url access.
Thank you.
I am new in codeigniter. Any idea how prevent direct url access.
i can make crud opration project. for "View" or "Delete" Operation i want to prevent with CSRF token.
Code:
http://localhost/user/view/5
i want to prevent this. and same a delete.
CSRF enable in config file and CSRF token work with add, edit form
i want only direct url access.
Thank you.