Skip to content

Security

18 articles tagged with "Security".

DevOps

Production Bug Fixes: Authentication, Templates & SQL

Learn from real production debugging experiences. This article covers three critical bug categories: SQL schema mismatches causing user creation failures, admin panel SQL errors from schema drift, and template isolation issues causing content injection. Includes debugging techniques, testing strategies, and production lessons learned.

Security

Two-Factor Authentication & Admin Security

A comprehensive guide to implementing TOTP-based two-factor authentication in production systems. Covers server-side QR code generation, secure cookie handling with proxy detection, trusted device management, session duration optimization, and audit logging for compliance. Learn from real implementation in the email-server project with code examples from Go.

Security

Building Role-Based Access Control (RBAC) with JWT in Node.js

Role-Based Access Control (RBAC) is a powerful method for managing permissions based on user roles within an application. By combining RBAC with JWT (JSON Web Token) authentication, you can control access to specific resources, ensuring that only authorized users can access or modify certain parts of your application.

Security

Enhancing Database Security in Node.js Applications: Authentication, Encryption, and Best Practices

In production environments, protecting sensitive data is a critical priority for any application, and securing database connections is fundamental to safeguarding user information and ensuring compliance. For Node.js applications, implementing robust database security involves multiple layers, including authentication, encryption, role-based access control, and secure connection management. This guide covers essential strategies for securing your database in Node.js, discussing secure connection setup, data encryption, and best practices for maintaining a strong security posture.

How to Install Deno 2.0 on macOS, Windows, and Linux

Deno 2.0 is a modern runtime for JavaScript and TypeScript, designed for security, TypeScript support, and compatibility with Node.js. In this guide, you’ll learn how to install Deno 2.0 on macOS, Windows, and Linux. Additionally, we’ll cover multiple installation options for each operating system so you can choose the best method for your setup.

Understanding and Implementing CORS in Node.js and Express

CORS (Cross-Origin Resource Sharing) is a security feature in web browsers that restricts web pages from making requests to a different domain than the one that served the original page. By configuring CORS in a Node.js and Express application, you can control which origins are allowed to interact with your server. This guide explains the concept of CORS, why it’s essential, and how to configure it in Express.

Security

Implementing Zero-Trust Security in Cloud Native Applications

Explore the implementation of Zero-Trust security architecture in cloud native applications. Learn how to establish robust security measures through identity-based access control, network microsegmentation, continuous monitoring, and automated security policies. This comprehensive guide covers practical strategies for implementing Zero-Trust principles in modern cloud environments.

Security

Implementing Email Verification in Node.js with JWT and Nodemailer

Email verification is essential for securing the registration process in web applications. It ensures that users are genuine and prevents spam or fraudulent sign-ups. By combining JWT (JSON Web Token) with Nodemailer, you can implement email verification efficiently in a Node.js application. This guide will walk you through setting up email verification, covering JWT generation for verification links, sending emails, and verifying users.

Node.js 20 vs. Deno 2.0: A Comprehensive Comparison

In the constantly evolving world of JavaScript runtimes, Node.js and Deno remain two of the most prominent options for developers. Node.js 20 and Deno 2.0 each bring unique capabilities and optimizations, with their latest releases providing developers with greater performance, security, and compatibility. This article dives into each runtime

Projects

Pdfree - PDF Tool

PDFTool is the essential PDF companion for individuals and businesses demanding speed, security, and an exceptional user experience. Try our powerful tools completely free of charge and see why PDFTool is the future of PDF management.