Habr•July 28, 2026•🇷🇺Translated from Russian

Pilcrow Publishes Free Comprehensive Guide on Web Authentication

Pilcrow has released a personal handbook on authentication that serves as a free collection of guides, recommendations, and code examples for implementing secure authentication in web applications.

The book focuses primarily on authentication and authorization systems for web apps and directs readers to the OWASP Cheat Sheets series for broader security topics. It is available without cost or advertising and includes both JavaScript and Go examples hosted on GitHub.

Authentication Methods

The simplest approach uses a username and password, yet the text details multiple risks including weak or reused passwords, phishing, and database compromise. Email addresses are presented as globally unique identifiers that also enable password recovery through time-limited links or codes.

For stronger protection, the guide covers two-factor and multi-factor authentication using SMS codes or authenticator apps. It notes that these methods should be viewed as rate-limiting mechanisms rather than absolute security and advises against reusing email verification as a second factor when it is also used for password resets.

Passwordless options receive detailed treatment, including one-time codes or magic links sent via email. Passkeys based on public-key cryptography are highlighted for resistance to brute-force attacks and phishing while offering convenience through device biometrics or a master password. External hardware tokens such as YubiKey devices are discussed for both passkey support and corporate second-factor use.

The author recommends supporting both email-based and passkey authentication so users can select their preferred method, with passkeys enforced for high-security accounts.

Session Management

Because HTTP is stateless, the book explains the necessity of server-side session records paired with client tokens. Session secrets must be generated from cryptographically secure random sources, hashed with SHA-256, and combined with an identifier into a single token using encodings such as hex or base64url.

Recommended practices include setting reasonable expiration times, optionally binding sessions to geographic regions derived from IP addresses, and invalidating sessions on logout or password change. The guide stresses that session invalidation is a privileged operation and that operation-specific sessions should be used for sensitive actions such as password updates or passkey registration.

Email Addresses and Final Advice

Email addresses are endorsed as reliable account identifiers because of their uniqueness and familiarity, provided domain validation is performed. The book concludes that authentication method selection must balance security requirements, user behavior, and platform expectations, favoring stronger methods implemented from the start rather than relying on post-login detection.

Related articles

AntiMalware•Other

SberTech Expands AI Agents in Platform V DataSpace to Enable Corporate Application Development from Text Descriptions

SberTech has introduced a new set of skills for its AI agents within the Platform V DataSpace platform, allowing the creation of corporate applications based on textual descriptions. The update focuses on automating the design of architectural components while respecting enterprise environment requirements. Presented at the AI Journey 2026 conference in Moscow, the skills draw from the company's low-code development practices and have been released openly on GitVerse. The AI agents can now handle user interfaces, server-side logic, data models, authorization mechanisms, and access rights. This addresses challenges in vibe coding by providing better architectural control and consistent service structures. According to CEO Maxim Tyatyushev, the capabilities support rapid prototyping, business hypothesis testing, and organizational scaling for both professional developers and non-programmers.

AntiMalware•Other

Russia's MAX Messenger Launches Chatbot for Presidential Appeals Collecting Personal Data

VK has activated a dedicated chatbot inside the MAX messenger to collect text and video messages addressed to President Vladimir Putin as part of the annual "Results of the Year" program. Citizens of Russia, regardless of age or region, must provide a phone number, full name, age, locality, and email address before submitting questions or recordings. The collection window opens at midnight Moscow time on 27 November and closes at the end of the live broadcast on 10 December. Messages will be reviewed by the program’s editorial team, which may contact senders using the supplied contact details, while GigaChat AI will assist users in refining their questions. Storage periods and handling procedures for the collected personal data remain unspecified in the official announcement. MAX joins other official channels including a dedicated website, mobile app, VK and Odnoklassniki communities, telephone, and SMS/MMS options.

AntiMalware•Other

Security Vision Releases SV5 Update with HTTPS Connectors, Dynamic Memory Management and MCP Automation

Security Vision has released a major update to its SV5 platform focused on improving secure integrations and operational resilience. The new version introduces HTTPS encryption for connector traffic, dynamic resource adaptation during memory shortages, and automatic discovery of MCP components. Administrators can now configure traffic encryption between the connector service and individual connectors to reduce interception risks during integration with internal and external IT systems. The workflow and connector services include mechanisms that automatically adjust parameters under peak loads to prevent critical errors. MCP setup has been simplified with self-discovery of REST tools, resources, and prompts even without explicit directory paths in configuration files. Additional improvements cover data visualization, manual refresh buttons in monitoring sections, a streamlined main menu, and automatic cleanup of performance logs after a defined retention period.

AntiMalware•Other

WhatsApp Rolls Out Scheduled Messaging Feature Preserving End-to-End Encryption

WhatsApp has introduced a scheduled messaging capability that allows users to set a specific date and time for messages, photos, videos, and links to be delivered automatically. The feature works even when the sender's device is powered off or offline, as the messages are stored on WhatsApp servers until the chosen delivery time. All scheduled content remains protected by end-to-end encryption throughout the process. Users can access and cancel planned messages through the chat information section, and recipients cannot detect whether a message was pre-scheduled or later removed. The rollout began with beta testers and will reach stable Android and iOS versions worldwide over the coming weeks, with a maximum scheduling window of 14 days.