Codeigniter, Web Development
Hello Friends,
Welcome to Part 19 of The CodeIgniter 4 Tutorial Series in Urdu/Hindi: Today In This CodeIgniter Video Tutorial, We will learn How to use Honeypot and CSRF Controller Filters with Examples in CodeIgniter 4.
Controller Filters allow you to perform actions either before or after the controllers execute. Unlike events, you can very simply choose which URI’s in your application have the filters applied to them. Incoming filters may modify the Request, while after filters can act on and even modify the Response, allowing for a lot of flexibility and power. Some common examples of tasks that might be performed with filters are:
Performing CSRF protection on the incoming requests.
Restricting areas of your site based upon their Role.
Perform rate limiting on certain endpoints.
Display a “Down for Maintenance” page.
Perform automatic content negotiation.
Protecting from Bots with HoneyPot.
and more…