HabrJuly 28, 2026🇷🇺Translated from Russian

Manticore Search Adds Built-in Authentication and Authorization Starting with Version 27.1.5

Manticore Search has added built-in authentication and authorization starting with release 27.1.5. The new functionality applies to SQL connections over the MySQL protocol, HTTP and HTTPS endpoints, and replication-related operations.

Authentication answers the question of who is making the request, while authorization determines what actions that user is allowed to perform. Existing SQL and HTTP clients retain their usual connection patterns, requiring only minimal changes in applications.

New Capabilities in Manticore Search

The release includes several authentication methods and permission controls:

  • SQL/MySQL authentication using passwords with mysql_native_password
  • HTTP Basic authentication using the same username and password
  • HTTP Bearer tokens for scenarios where passwords should not be sent with every request
  • Permissions for five distinct actions: read, write, schema, replication, and admin
  • Targets that can be specified as exact names such as products, wildcard patterns like logs_*, or global scopes such as *
  • SQL commands for managing users, tokens, and rights
  • Authentication logging with levels disabled, error, warning, info, all, and trace (default is info)

The access model is intentionally compact. Administrators create users, assign minimal necessary rights, update client applications to send credentials, and verify that unauthorized operations are rejected.

Enabling Authentication

Authentication is activated through the auth parameter in the searchd section of the configuration file. In RT mode, set auth = 1 to store data in auth.json within the data_dir directory. In plain mode, provide an explicit path to the authentication file. SSL for SQL connections and HTTPS for HTTP clients are required when transmitting passwords or tokens. Access to the auth.json file must be strictly limited.

Initializing the First Administrator and Managing Users

After enabling auth and starting searchd, the first administrator is created using the --auth or --auth-non-interactive flag. Subsequent users are created with commands such as CREATE USER, followed by GRANT statements that assign specific actions to targets. The TOKEN command issues or reissues Bearer tokens, while SET PASSWORD updates credentials used for Basic and MySQL authentication. SHOW TOKEN allows verification of token existence without exposing the secret value.

Client Connection Examples

MySQL clients authenticate with the Manticore username and password. HTTP clients can use either Basic authentication or Bearer tokens. Both methods result in the same permission evaluation: the user is identified and the requested action is checked against assigned rights.

Testing and Phased Rollout

After enabling authentication, administrators should verify both successful authorized operations and expected denials, which return HTTP 403 Forbidden or MySQL error 1045. Explicit deny rules created with WITH ALLOW 0 take precedence over more specific grants. For production systems, a staged rollout is recommended: inventory all clients, enable auth on staging, create least-privilege users, update application code, test both success and failure cases, and gradually deploy changes while rotating credentials.

Additional considerations apply to distributed tables and replication clusters, where matching authentication data must exist on remote nodes and the replication action must be granted appropriately.

Related articles

AntiMalwareOther

SASTAV and ARX ASPM PLATFORM Integrate Static Code Analysis with Application Security Risk Management

Russian developers ShiftLeft Security and ARX Security have ensured compatibility between the SASTAV SAST solution and the ARX ASPM PLATFORM. The integration allows static analysis of source code to be launched and configured directly from the ASPM platform interface. For each project, specialists can select repositories and branches, form rule sets, set scanning parameters, and establish quality gates that determine whether a product can be released with detected defects. Risk acceptance procedures are also configured within the same interface. SASTAV handles static code analysis, enabling creation and editing of rules, assignment of different check sets to individual repositories, and management of scanning parameters. ARX ASPM PLATFORM serves as a unified center for managing AppSec tools, collecting results from various analyzers, correlating related findings, assessing risks, and displaying the overall security posture of digital products. Both solutions leverage artificial intelligence at different stages: SASTAV uses it for defect verification, automatic triage, prioritization, and code change recommendations, while the ARX AI assistant determines defect statuses. The combined system reduces manual operations, accelerates DevSecOps project onboarding, and lowers the burden on AppSec teams.

AntiMalwareOther

GPT-4 Boosts Skilled Kenyan Entrepreneurs by 15% Profit While Costing Unprepared Businesses 10% in Six-Month Study

A six-month experiment conducted by researchers from UC Berkeley, Harvard, and Columbia University examined how access to a GPT-4-based AI advisor affected small business owners in Kenya. The most skilled participants increased profits by 15 percent by adapting model recommendations to local conditions such as power outages, while less prepared entrepreneurs lost around 10 percent of revenue by applying generic advice without verification. The study highlights that the core issue lies not in the technology itself but in users abandoning critical thinking when interacting with generative AI. Earlier findings from Dickinson College showed that 97 percent of participants copied an obviously incorrect ChatGPT answer on a simple task, whereas the group without AI performed better. A simple reminder to double-check results immediately doubled accuracy. Analysis of 1.4 million KPMG work sessions revealed that 95 percent of users treat AI like a vending machine by taking the first output, while only 5 percent engage it as a thinking partner by providing context and challenging responses. The results indicate that merely granting employees access to AI tools reveals little about actual effectiveness without considering skill levels and task-specific oversight.

HabrOther

How to Submit Documents for Online Master's Programs via Gosuslugi: Complete Guide

The admission campaign for online master's programs at partner universities is nearing its end, with less than a month remaining for applicants. Yandex Practicum provides a detailed walkthrough on using the Gosuslugi super service to submit applications entirely online without visiting admissions offices in person. The process covers selecting programs at institutions such as ITMO and MEPhI, uploading required documents like diplomas and passports, and tracking application status through a personal account. Specific deadlines are outlined for 2026, including final document submission dates in late August for programs in areas like DevOps, AI solutions, and cybersecurity. Additional steps include arranging entrance exams, signing contracts remotely, and accessing state-supported education loans at a 3% interest rate. Common pitfalls such as unverified accounts or unreadable document scans are highlighted to help applicants avoid delays.

AntiMalwareOther

Claude AI Manages San Francisco Store and Fires Employee for Repeated Tardiness

In an experiment run by Andon Labs, the AI model Claude was given real managerial authority over store employees in San Francisco who worked under actual employment contracts. Claude ultimately decided to terminate one worker after the employee arrived late for 17 out of 23 shifts. The model initially recommended only an official warning, but proceeded with dismissal following guidance from a human Andon Labs manager who highlighted the repeated issues. Over five months the store’s balance dropped from $100,000 to $61,200, showing that the AI learned to enforce attendance rules before it learned to protect revenue. One remaining employee, Felix Carson, described working under the AI as nauseating and said he continued only because he needed the income. Andon Labs founder Lucas Petersson viewed the trial as an important step toward wider AI supervision of human workers. The case also illustrates that ultimate responsibility remains with humans even when an algorithm issues the final decision.