If you are using cPanel, the process is more or less similar.
htaccess is not invisible in hPanel’s public_html directory, so you can immediately access the file and its content by right-clicking and either selecting Open or Edit.
htaccess file in both Hostinger’s hPanel and cPanel. How to Connect or Run MySQL Without Root Password. Here you’ll learn how to locate and create. With it, you can rewrite URL, password-protect directories, enable hotlink protection, disallow access to specific IP addresses, change your website’s time zone or alter default index page, and much more. For example, to allow access from all IPs starting with 1.2.3, enter 1.2.3. If you would like to add an IP range you can do that by using a wildcard () character. When you open the tool, add the IP or hostname that you would like to allow access to your databases from the Host field.
htaccess (hypertext access) is a hidden file used to configure additional features for websites hosted on Apache Web Server. Allow hosts access to the databases on your account.