csrf-protection Questions
2
Solved
We are building 3 different applications MVC application, API, SPA (not Angular) with ASP.NET Core. All the actions in this application are only for authorized users. That's why we protect them wit...
Worse asked 26/5, 2017 at 9:4
1
I recently enabled CSRF protection in my web Application. There are around 100+ JSP pages containing FORM submission. What is the best way adding CSRF token :
<input type="hidden" name="${_csrf...
Backsheesh asked 13/8, 2016 at 9:48
1
I have application written in Symfony 2.8.11 and FosUserBundle 2.0.0-beta1.
User can connect to the site via VPN or basic auth. Mostly they use Internet Explorer 11 on Windows 7.
Some of them are ...
Disciple asked 5/1, 2017 at 10:44
2
Solved
If I understand correctly, in a CSRF attack a malicious website A tells my browser to send a request to site B. My browser will automatically include my B cookies in that request. Although A cannot...
Simulate asked 28/11, 2016 at 9:51
2
In Aurelia, there doesn't seem to be any support for CSRF protection yet, as opposed to AngularJS's XSRF-TOKEN header which is set automatically on all XHR requests by the AngularJS framework.
How...
Antetype asked 14/7, 2015 at 6:45
4
My Laravel5 website uses csrf tokens to prevent CSRF attacks. On Chrome and Firefox, eveything works fine.
I submitted the site for my client to test and, when he uses Internet Explorer (9/10), he...
Accipitrine asked 18/6, 2015 at 6:23
1
I am working on a Rails 5 api project which is used by mobile client with gem devise_token_auth for authorization.
I am clear about what the warning means.
1st Question: CSRF protect should be t...
Madcap asked 23/8, 2016 at 6:11
1
Solved
I have read multiple questions and answers here on StackOverflow about InvalidAuthenticityToken and protect_from_forgery but get none the wiser.
I have a website that get hundreds of these errors...
Face asked 20/8, 2016 at 14:56
1
Solved
I am pretty new to web security, and as I read more about the different attack vectors, my mind boggles that they are allowed in the first place. It's like the web was designed with a broken securi...
Urease asked 1/6, 2016 at 4:59
2
Solved
Is it necessary to use CSRF Protection when the application relies on stateless authentication (using something like HMAC)?
Example:
We've got a single page app (otherwise we have to append the ...
Opus asked 25/1, 2014 at 22:40
2
I am sending a POST request from an iOS client
-(void)loadFavorite:(NSArray*)favorites{
//data and url preparation
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url
cach...
Childbirth asked 24/6, 2015 at 16:58
1
Solved
I am working on a tomcat application. I am trying to add CSRF authentication token provided by catlina library(org.apache.catalina.filters.CsrfPrevention). I have added filter to web.xml
<filt...
Eyestrain asked 10/4, 2016 at 13:23
1
I am using <csrf/> tag in my spring security xml file for a web project. And sending csrf token in a form:
<form action="" method="post">
<input type="hidden" name="${_csrf.paramete...
Tc asked 7/3, 2016 at 13:4
1
Solved
I am developing a Rails 4 app that serves a mobile app through an API, and has a web UI for admins to manage the application. There's also a couple of web pages that users will see (successful e-ma...
Inactivate asked 10/12, 2015 at 0:6
3
I have two web apps, one for the Web UI in AngularJS and one for the REST webservices in Java. Both are deployed on separate domains.
The applications uses cookie for authentication. Whenever user...
Passepartout asked 6/1, 2015 at 6:41
2
Solved
A Cross-Site Request Forgery attack rides on the victim's session to submit malicious requests to a trusted site. The Cheat Sheet here describes CAPTCHA as a good way to prevent CSRF attacks.
As w...
Spiritless asked 16/9, 2015 at 3:54
1
Solved
I'm trying to create a Facebook Page Tab which points to my website.
Facebook sends a HTTP POST request to the url of my website.
The problem here is that the server has a built-in CSRF check, and...
Dermoid asked 15/9, 2015 at 8:13
2
Solved
Django CSRF protection forces to set "Vary: Cookie" header that leads to inefficient cache
Django's CsrfViewMiddleware sets "Vary: Cookie" header, that means that cache system will take into account not only page URL but also user's Cookies that are unique for each user.
So pages don't c...
Lipetsk asked 12/8, 2015 at 7:48
2
Solved
This question is more a re-insurance than one directly about how to code. As an autodidact i did not have a lot of possibilities to ask professionals such things, so i try here.
I have read the do...
Cecrops asked 31/3, 2012 at 13:39
2
Solved
I have read about CSRF and how the Unpredictable Synchronizer Token Pattern is used to prevent it. I didn't quite understand how it works.
Let's take this scenario :
A user is logged into a site ...
Ine asked 9/7, 2015 at 16:36
2
There are some discussing like this on SO claiming that csrf protection is not required for anonymous forms. Looking at the stackoverflow html code, when not logged in, you can see the csrf token
...
Clausius asked 10/6, 2015 at 21:48
1
Solved
Disclaimer: My question is somewhat similar to this question and this question, but I have tried all the answers suggested in those threads and already spent few days struggling with the problem.
...
Contamination asked 28/5, 2015 at 5:58
1
Solved
I copied some old code that was working in compojure 1.1.18 and other old libs, but using the latest versions I can't get it to work.
Here's my minimal example code copied from the minimal example...
Grizzle asked 11/5, 2015 at 16:10
1
Solved
I'm integrating AngularJS into hackathon-starter. It was done as I mentioned it here with the following test.html and test.controller.js
<div>
The record: {{record}}
</div>
<div a...
Cyclohexane asked 8/5, 2015 at 12:35
2
I need to create "bulk actions" similar to wordpress posts management, so you can for example delete multiple records at a time.
This is my approach, and works fine, but I'm sure it is not the be...
Ogilvy asked 11/3, 2015 at 17:8
© 2022 - 2024 — McMap. All rights reserved.