What is antiforgerytoken mvc5?



What is antiforgerytoken mvc5?..

Answer / Rohit Kumar Singh

In MVC5 (not Laravel), AntiForgeryToken is a security feature provided by ASP.NET to protect against Cross-Site Request Forgery (CSRF) attacks. In Laravel, the equivalent is the CSRF token which can be found in the $_SESSION['_token'] global variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is monolog library in laravel?

1 Answers  


What is routing in laravel 5 and how we can use it?

1 Answers  


what is meant by Global Middleware and Route Middleware ?

2 Answers  


are you able to laravel create-project via composer, explain how?

1 Answers  


Explain Events and Listeners ?

2 Answers  


Where is route in laravel?

1 Answers  


Can you exclude uris from csrf protection in laravel? Explain

1 Answers  


Explain faker in laravel.

1 Answers  


What is the use of accessors and mutators in eloquent?

1 Answers  


How to create model controller and migration in a single artisan command in laravel?

1 Answers  


How can you retrieve values for laravel configration files.

1 Answers  


How to use delete statement in laravel?

1 Answers  


Categories