|
| 1 | +# Security Policy for fastapi-user-authentication |
| 2 | + |
| 3 | +## Reporting a Vulnerability |
| 4 | + |
| 5 | +We take security seriously and are committed to maintaining the security of our project. If you discover a security vulnerability, please report it as soon as possible. |
| 6 | + |
| 7 | +### Steps to Report a Vulnerability |
| 8 | + |
| 9 | +1. **Email**: Send an email to v.sothea.personal@gmail.com with the following information: |
| 10 | + - A description of the vulnerability. |
| 11 | + - Steps to reproduce the issue. |
| 12 | + - Any relevant logs or screenshots. |
| 13 | + |
| 14 | +2. **Do Not Share Publicly**: Please do not disclose the vulnerability publicly until it has been addressed. This helps us protect our users and the integrity of the project. |
| 15 | + |
| 16 | +3. **Response Time**: We will respond to your report as soon as possible and will keep you updated on the progress of the fix. |
| 17 | + |
| 18 | +## Secure Coding Practices |
| 19 | + |
| 20 | +To help maintain the security of this project, we encourage contributors to follow these best practices: |
| 21 | + |
| 22 | +- **Input Validation**: Always validate and sanitize user input to prevent injection attacks (e.g., SQL injection, XSS). |
| 23 | +- **Authentication**: Use strong authentication mechanisms, such as hashed passwords and secure tokens. |
| 24 | +- **Authorization**: Implement Role-Based Access Control (RBAC) to ensure users have appropriate permissions. |
| 25 | +- **Use HTTPS**: Always use HTTPS to encrypt data in transit and protect against man-in-the-middle attacks. |
| 26 | +- **Keep Dependencies Updated**: Regularly update dependencies and monitor for known vulnerabilities using tools like [Dependabot](https://dependabot.com/) or [Snyk](https://snyk.io/). |
| 27 | + |
| 28 | +## Security Updates |
| 29 | + |
| 30 | +We will provide security updates and patches as necessary. To stay informed about security-related updates, please watch the repository or check the [releases](https://github.com/VannySothea/fastapi-user-authentication/releases) page. |
| 31 | + |
| 32 | +Thank you for helping us keep our project secure! |
0 commit comments