Found a total of 10000 related content
HTTP Authentication in Node.js
Article Introduction:Last week, in the article "Creating a Node.js HTTP Server", I introduced the basics of HTTP in Node.js. Today's article will show you how to use HTTP authentication to protect your Node.js site from password attacks. We will first introduce basic access authentication and then move to more secure digest access authentication.
Key Points
Basic access authentication and Digest access authentication are two HTTP authentication methods in Node.js. Basic access authentication is simpler and prompts the user for a username and password, while Digest access authentication is more secure because it encrypts the password before transmission.
Node.js utility
2025-02-25
comment 0
286
API Token Authentication
Article Introduction:Introduction
In this article, I will explain API token authentication in an easy-to-understand manner using diagrams.
After having a rough understanding of how API token authentication works, I will explain how API token authentication works us
2024-11-09
comment 0
489
Laravel Authentication Using Passport
Article Introduction:Mastering Laravel Authentication with Passport: A Step-by-Step Guide
Authentication is a cornerstone of modern web applications. In Laravel, Passport provides a full OAuth2 server implementation, enabling API authentication seamlessly. This gui
2025-01-04
comment 0
1109
Next.js Authentication
Article Introduction:As of Next.js 15, handling authentication has become more robust and flexible, especially with its advanced server components, Actions API, and middleware capabilities. In this article, we'll explore the best practices for implementing authentication
2024-11-03
comment 0
525
Types Of Authentication
Article Introduction:Authentication is the process of verifying a user's identity. It's a fundamental security measure that ensures only authorized individuals can access systems and data. As technology advances, so do the methods of authentication. Let's explore some of
2024-11-29
comment 0
809
Implementing user authentication in Django
Article Introduction:To protect the data in the view from access by anonymous users, you need to use an authentication system. Django provides built-in authentication implementation functions (please refer to the documentation).
What is authentication? Authentication is the process of comparing user identity data. Authentication occurs in two steps:
User Identification - Searches the database for the entered username.
Authentication. If the username from the first step exists, the value of the "Password" field in the HTML page is compared with the password saved in the database. The password must be hashed before comparison since the original password is not stored in the database.
Open your Django project and follow these steps:
Create in views.py
2025-01-26
comment 0
392
How to Create a Custom Authentication Guard in Laravel
Article Introduction:This article will explore the authentication system of the Laravel framework in depth, focusing on how to create a custom authentication guard by extending the core authentication system.
Laravel's core provides a powerful authentication system that allows basic authentication to be easily implemented. Just run a few artisan commands to build the scaffolding of the authentication system.
Additionally, the system is designed to allow extensions and insertion of custom authentication adapters. This article will discuss this in detail. Before we dive into the implementation of custom authentication guards, we will first discuss the basic elements of the Laravel authentication system - guards and providers.
Core elements: Guardians and providers
The core of the Laravel authentication system consists of two elements—
2025-03-05
comment 0
908
Flask Authentication With LDAP
Article Introduction:This tutorial demonstrates Flask application user authentication via LDAP. We'll build a simple app with a home page and login page, verifying credentials against an LDAP server. Successful authentication grants access; otherwise, an error message
2025-03-03
comment 0
640
How to customize Laravel's user authentication logic?
Article Introduction:Custom Laravel user authentication logic can be implemented through the following steps: 1. Add additional verification conditions when logging in, such as mailbox verification. 2. Create a custom Guard class and expand the authentication process. Custom authentication logic requires a deep understanding of Laravel's authentication system and pay attention to security, performance and maintenance.
2025-05-22
comment 0
630
Authentication System Using NodeJS
Article Introduction:Introduction
Authentication is a process to identify user's identity and grant them access to the resources provided by application. In backend development,
authentication plays a major role to grant or restrict users to access specific resour
2025-01-10
comment 0
296
JWT Authentication in Django
Article Introduction:This tutorial introduces JSON Web Tokens (JWT) and demonstrates JWT authentication implementation in Django.
What are JWTs?
JWTs are encoded JSON strings used in request headers for authentication. They're created by hashing JSON data with a secret
2025-03-02
comment 0
918
Passport Authentication for Node.js Applications
Article Introduction:This tutorial demonstrates Facebook and GitHub authentication in a Node.js web application using Passport.js, a popular authentication middleware. Passport simplifies OAuth and OpenID Connect integration.
Key Concepts:
Passport.js: A Node.js middl
2025-02-15
comment 0
503