Preventing Mass Assignment and SQL Injection in Laravel
Two of the oldest Laravel security bugs, reproduced and fixed with tested code: mass assignment through $request->all(), and SQL injection through raw queries and user-chosen sort columns.
Written by Shahrukh Akhtar, Technology Executive & Product Builder. Engineering leadership, Laravel at scale and product strategy.
Two of the oldest Laravel security bugs, reproduced and fixed with tested code: mass assignment through $request->all(), and SQL injection through raw queries and user-chosen sort columns.