Welcome Guest, Not a member yet? Register   Sign In
About is_ajax_request
#6

(07-18-2017, 06:37 AM)natanfelles Wrote:
(07-18-2017, 02:10 AM)theedo Wrote: Another question: there is some way to hide the ajax request link, or the entire js script? And about the csrf: to make the ajax request I disabled the csrf regenerate, is it secure? Or I must insert a data in the ajax request as my csrf token? Thank you!

I think that you must to use the maximum of security verifications. Then enable the CSRF Regenerate.

To use the CSRF dinamically you can get it on every submission. Or assign to a meta tag.

Some time ago I created a project doing it. Perhaps this lines can help: https://github.com/natanfelles/codeignit...e.php#L114

Thank you!
Reply


Messages In This Thread
About is_ajax_request - by theedo - 07-17-2017, 01:09 PM
RE: About is_ajax_request - by skunkbad - 07-17-2017, 02:23 PM
RE: About is_ajax_request - by reactionstudio - 07-17-2017, 09:09 PM
RE: About is_ajax_request - by theedo - 07-18-2017, 02:10 AM
RE: About is_ajax_request - by natanfelles - 07-18-2017, 06:37 AM
RE: About is_ajax_request - by theedo - 07-18-2017, 01:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB