9 lines
389 B
Plaintext
9 lines
389 B
Plaintext
---
|
|
description: General security guidelines for Laravel applications.
|
|
globs: /**/*.*
|
|
---
|
|
- Always validate and sanitize user input.
|
|
- Use Laravel's CSRF protection for all forms.
|
|
- Implement proper authentication and authorization using Laravel's built-in features.
|
|
- Use Laravel's prepared statements to prevent SQL injection.
|
|
- Implement proper database transactions for data integrity. |