Hello All,
I wanted to know Is samesite= none with the secure flag in web.config (<httpCookies requireSSL="true"/>) will prevent csrf attacks ?.
In the project we are using Iframe control of asp .net for cross side
<iframe name="Iframe1" id="Iframe1" width="600" height="600" runat="server" ></iframe>
So it opens payment gateawy page and while user putting credentails and submit , its response not getting for us in our side. Due to its shown in chrome like Samesite=Lax.
To resolve this I used the below setting
In our project I have to add the below line in web.config
<httpCookies requireSSL="true"/>
<sessionState mode="InProc" cookieSameSite="None"/>
So it working fine and getting response but wanted to know Is above changes open csrf attacks? Or prevent csrf attacks?
Let me know your thought for above.
If anyone knows other ways to handle it, please suggest.
In our project I have to add the below line in web.config
<httpCookies requireSSL="true"/>
<sessionState mode="InProc" cookieSameSite="None"/>
So it working fine and getting response but wanted to know Is above changes open csrf attacks? Or prevent csrf attacks?
Let me know your thought for above.
If anyone knows other ways to handle it, please suggest.
I would recommend you open a new issue for support or guidance at https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support.
thanks,
Mike