Welcome Guest, Not a member yet? Register   Sign In
CSRF configuration
#2

Quote:There are times where you want to apply a filter to almost every request, but have a few that should be left alone. One common example is if you need to exclude a few URI’s from the CSRF protection filter to allow requests from third-party websites to hit one or two specific URI’s, while keeping the rest of them protected. To do this, add an array with the except key and a URI path (relative to BaseURL) to match as the value alongside the alias:
https://codeigniter4.github.io/CodeIgnit...a-few-uris
Reply


Messages In This Thread
CSRF configuration - by __peter - 09-07-2023, 09:55 AM
RE: CSRF configuration - by kenjis - 09-07-2023, 05:11 PM
RE: CSRF configuration - by kenjis - 09-07-2023, 05:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB