What code practices would you enforce to improve security in a project? #183545
Replies: 3 comments
-
|
@manukumar7 Hi, 1. Coding Practices
2. Tools
3. Workflows
Examples & Lessons Learned
Overall, consistent discipline, automation, and learning from incidents are key to maintaining project security. |
Beta Was this translation helpful? Give feedback.
-
|
@manukumar7 y @tmilost - excelentes puntos. Desde mi experiencia trabajando en proyectos full-stack con PHP, JavaScript y React, agrego algunos detalles adicionales: Prácticas Específicas que ImplementoBackend (PHP + MySQL):
Frontend (JavaScript/React):
Control de Versiones & Deployment:
Lecciones que Aprendí de Forma Difícil
Herramientas que Uso Regularmente:
La clave es la automatización — lo que no está automatizado en CI/CD, eventualmente se olvida en un sprint ocupado. |
Beta Was this translation helpful? Give feedback.
-
Follow secure coding standards (input validation, proper auth, least-privilege access). Use environment variables & secrets managers (never hard-code keys). Apply static analysis & dependency scanning (GitHub Actions, Bandit, Dependabot). Enforce code reviews & branch protection. Use HTTPS, JWT/OAuth, and hashed passwords (bcrypt/argon2). Log and monitor security events with minimal sensitive data. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
General
Body
Which coding practices, tools, or workflows do you use to ensure project security? Any examples or lessons learned from experience?
Beta Was this translation helpful? Give feedback.
All reactions