How to prevent CSRF Attack in ajax application -
can me how prevent csrf attack in ajax application. in our application ( php + jquery ) main form loaded once , other forms loaded on request using ajax . example, when user click customer , page loaded using ajax request. how prevent customer page should not called directly or how generate , use csrf token prevent
you must try in .htaccess file .
# don't allow pages framed - defends against csrf header set x-frame-options deny
Comments
Post a Comment