Not sure what to choose?

Describe your task and we will help you find a solution.

All services — 6 areas · 25 servicesNavigation ↑ ↓ · Close Esc
All articles — Development, support and security from our team's experienceNavigation ↑ ↓ · Close Esc
Security

Bitrix security: built-in website protection tools

Bitrix website protection tools: proactive filter, security scanner, web antivirus, admin area protection and session protection.

RIVERIT · · 7 min read

1C-Bitrix website security: anti-hacking tools

Proactive protection against website hacking

The proactive filter is an important tool in the fight against website hacking. It detects and blocks most known attacks and protects against security mistakes that developers may make. However, like any other protection, it is not 100% effective and can sometimes produce false positives. That is why, in addition to the proactive filter, you need to take other measures to protect the website, such as using strong passwords, installing updates regularly and checking the system for vulnerabilities.

Proactive filter in the Bitrix admin panel: the Active Reaction tab

A website security scanner is a tool that helps assess the security level of a website, find potential vulnerabilities in the software and identify incorrect security settings in the CMS, PHP and the server. This service is designed to help website owners protect their resources from hacker attacks and other kinds of malicious activity. After scanning the website, the security scanner produces a report on the problems it found and recommendations for fixing them. This lets you fix vulnerabilities promptly and make the website more secure.

Bitrix security scanner: the Start Scan button and the list of detected threats

To start a website scan, you only need to click one button. When the scan is complete, the scanner shows the results with a full list of all security threats detected on the website.

The scanner checks the internal setup of the website for flaws, such as whether sessions are stored securely. The module also shows which of the system’s security features are not in use and which settings have not been configured. In addition, the scanner finds all weak spots that are not dangerous in themselves but could become vulnerabilities, such as a simple database password, a lowered security level for administrators and so on. These small details can prove useful if the developer forgot to fix something after finishing the work.

Web antivirus: protection against viruses

A web antivirus is a tool that protects a website from viruses. It is the simplest way to protect a website from virus infection. A website usually gets infected through the computer of an administrator who has access to it, not simply because the website has been online for a long time.

The main task of a web antivirus is to notify the website administrator about a possible infection. If the website is infected, it may mean that the virus is also on the administrator’s computer and that appropriate measures are needed.

The web antivirus runs on the website, not on the administrator’s computer, so for full protection the administrator’s computer also needs a regular antivirus. Depending on the settings, the web antivirus can either only notify the website administrator about a suspected infection or automatically detect malicious fragments in the HTML code of the website and remove suspicious iframes and JavaScript. You can also add exceptions so that the web antivirus does not trigger on code fragments that look suspicious but are safe. The web antivirus plays an important role in stopping viruses from spreading through your website, keeping it safe and protecting it from potential threats.

Monitoring suspicious activity on the website

Suspicious activity on a website can be monitored with various tools and technologies. One of the most common methods is to use specialized scripts and programs that analyze user activity on the website and block users who behave suspiciously. For example, an IP blocking system can automatically block access to the website for users from specific IP addresses that request pages too often or show other suspicious activity.

In addition, you can use dedicated services such as Google reCAPTCHA to monitor suspicious activity, as they help tell bots apart from real users. Another monitoring method is analyzing the server logs, which record all requests to the website. This analysis helps detect suspicious actions and take steps to block them. Finally, there are dedicated website security monitoring systems that automatically analyze activity on the website and can prevent many types of attacks, including DDoS attacks and password-guessing attempts.

Activity control in Bitrix: a 300-second block if more than 60 hits are made within 20 seconds

Admin area protection

Restricting the admin area by IP address is an effective way to protect against unauthorized access. To do this, configure the access rules for the website admin area so that access is allowed only from specific IP addresses.

However, keep in mind that this method is not completely reliable. For example, an attacker can use a VPN or a proxy server to hide their real IP address and get into the website admin area.

In addition, IP-based protection can cause difficulties if the website administrator works from different locations or uses different devices to access the admin area.

That is why we recommend combining several protection methods, such as password protection and two-factor authentication, to make the website admin area as secure as possible. It is also important to keep track of software updates and fix vulnerabilities that attackers could use to gain access to the website admin area.

Admin area protection in Bitrix: access only from the listed IP addresses

Session protection

Session protection is an important security measure for web applications. It prevents session theft and, as a result, prevents an attacker from accessing a user’s logged-in account. A session is a temporary mechanism used to track the state of a user on the website while they work with it. When a user logs in, the system creates a unique session that links them to a specific account. The session ID is usually passed through a cookie or a GET parameter in the URL.

An attacker may try to intercept this ID and use it to gain access to the user’s account. To prevent this, session protection usually includes cryptographic encryption and hashing methods, as well as unique session IDs.

1C-Bitrix offers session protection, which includes storing session IDs in the database and setting the session lifetime. This allows the system to change the session ID automatically at set intervals, which makes session theft pointless. It is also important to make sure that the application does not pass confidential information through GET parameters in the URL, as this can lead to data leaks through the browser history or server logs.

Session protection in Bitrix: storing session data in the module database and changing the session ID

Two-step authentication and one-time passwords

Two-step authentication improves login security and protects against password leaks. It requires the user to provide two different pieces of data to confirm their identity. In addition to the password, the user must enter a one-time code, which can be sent to their mobile phone or email. One-time passwords can be generated by software or sent to the user’s device as an SMS or a message in a mobile app. They are valid only once and cannot be reused. So even if an attacker steals the password, they cannot access the account without the one-time code. Two-step authentication and one-time passwords significantly improve login security and protect against hacking, especially when passwords leak. These mechanisms are easy to implement on most popular platforms and frameworks, including 1C-Bitrix.

Website DDoS protection

DDoS protection is an important task for any website, especially a large project. The proactive filter can help fight DoS attacks and protect the website from simple DDoS methods. However, more serious distributed denial-of-service (DDoS) attacks require more powerful protection. Contact us, and we will help you choose an effective DDoS protection service.

02

Related articles

03Contact

Tell us
about your task

Describe your project or a problem with your website. We will contact you during business hours, clarify the details and prepare a proposal with stages, timeline and cost.

  1. 01We contact you
  2. 02We discuss the task
  3. 03We prepare a proposal

Project request

Mon–Fri 9 AM–6 PM
What you need

By clicking the button, you agree to the privacy policy

Prefer Telegram? Message us