19 posts tagged with "Security"
View All TagsEnvironment variables are how you keep credentials like API keys secret when you upload your code to a public repository.
Creating nested REST routes to edit and delete comments. Restricting access to routes based on user role.
Checking if user is authorized to edit content by comparing user ID to author ID. Creating middleware function, and dynamic GUI controls based on ID.
Implementing user authentication in an Express application using Passport JS. Setting up login and registration forms, authentication routes, and template modification based on authentication.
Anytime a user can input text data we have to sanitize the input so that they don't inject anything malicious, like a script to drop the database. This is how we sanitize inputs in Express.