CSRF Protection

Cross-site request forgery (CSRF), also known as one-click attack or session riding, is a type of malicious exploit of a website where unauthorized commands are submitted from a trusted website user. Laravel makes it easy to protect your application from CSRF attacks by inspecting every incoming POST, PUT, PATCH, or DELETE for a secret session…

How to not get hacked!

TIP 1: Do not trust user input of any format! Validate EVERYTHING and Sanitise EVERYTHING! TIP 2: Do not run outdated software in production. TIP3: Do not run code that you do not understand in production (e.g. copy/paste from tutorials). TIP4: Follow the rules of least privilege in your application and production host. TIP5: Learn…