Questions tagged as 'csrf'

2
answers

Disable the CSRF token for laravel 5.2

In laravel 5.2 I want to disable CSRF on a route, since I am using pagseguro (michaeldouglas / laravel-pagseguro) and want to work with automatic return. I have tried to add the route in the exception array in the App \ Http \ MiddlewareVerif...
asked by 29.06.2016 / 21:46
2
answers

What is CSRF attack and what damage can it cause?

I'm seeing some people mentioning the CSRF attacks here on Stack Overflow. What I would like to know is: What is a CSRF attack ? How is it done? What damage can it cause? How can I prevent CSRF attacks?
asked by 04.03.2016 / 03:08
0
answers

MethodNotAllowedHttpException in laravel 5.5 pagination

I'm having trouble paging data in the view. When I perform the search it returns all the data, but when I access the pagination link it returns the error "MethodNotAllowedHttpException".    link I was having the same problem on the main...
asked by 08.09.2018 / 17:15
0
answers

Implement CSRF token but without affecting navigation

I'm developing a web application written in PHP7. In this application, I developed a module in which it generates in the CSRF token automatically when the user "enters" on any page of the application. This is the useful part of the code for the...
asked by 12.03.2018 / 17:03
1
answer

How to use the csrf class in codeigniter with onchange event?

I have the following situation: Form <?php $atributos = array('id'=>'cadloja','class'=>'form-inline','role'=>'form','data-toggle'=>'validator'); echo form_open('',$atributos); ?> <select class="form-contro...
asked by 06.10.2017 / 21:00
0
answers

Laravel is not generating CSRF_TOKEN

In the html meta <meta name="_token" content="{{ csrf_token() }}"/> Laravel is not generating csrf token after adding middlware in the route, I will show 2 examples: When I add this middleware it does not work, that is, it does...
asked by 26.04.2017 / 04:17