I was reading the documentation for the admin, and saw this:
".htaccess & .htpasswd
A .htaccess and .htpasswd file in the admin folder will prevent hackers from accessing your store, even if they discover the admin login location. Using .htaccess, you can deny all IP addresses from viewing your store, except the admin's IP address. A .htpasswd in the admin folder will require an additional password for the allowed administrator to access this directory. "
I don't know how to write an htaccess file. is there any help on this somewhere? They give code for catalog and system htaccess but not the admin.
Thanks!
".htaccess & .htpasswd
A .htaccess and .htpasswd file in the admin folder will prevent hackers from accessing your store, even if they discover the admin login location. Using .htaccess, you can deny all IP addresses from viewing your store, except the admin's IP address. A .htpasswd in the admin folder will require an additional password for the allowed administrator to access this directory. "
I don't know how to write an htaccess file. is there any help on this somewhere? They give code for catalog and system htaccess but not the admin.
Thanks!
If you need to install third-party modules,please don't change your admin folder.
please create a file named ".htaccess"
then add
order deny,allow
deny from all
allow from xx.xx.xx.xx
Replace xx.xx.xx.xx with your IP address every time if you want to access your admin.
note,there is a dot before htaccess.
No one can access your admin except you.
If you want to allow multiple IP addresses,just write:
allow from 219.134.101.172 192.157.208.124 50.7.109.150 206.253.167.190
.htaccess is only working with apache,not nginx.
please create a file named ".htaccess"
then add
order deny,allow
deny from all
allow from xx.xx.xx.xx
Replace xx.xx.xx.xx with your IP address every time if you want to access your admin.
note,there is a dot before htaccess.
No one can access your admin except you.
If you want to allow multiple IP addresses,just write:
allow from 219.134.101.172 192.157.208.124 50.7.109.150 206.253.167.190
.htaccess is only working with apache,not nginx.
https://www.ectransistors.com/
https://www.transistormosfet.com/
If you don't know your IP address,you can visit:
http://ipaddress.com/
If you don't use third party software at all,then after installation,
you can
1)rename your admin folder
2)go to your admin folder/config.php
rename admin to the same name as your admin folder in the file.
it should be done.
http://ipaddress.com/
If you don't use third party software at all,then after installation,
you can
1)rename your admin folder
2)go to your admin folder/config.php
rename admin to the same name as your admin folder in the file.
it should be done.
https://www.ectransistors.com/
https://www.transistormosfet.com/
Who is online
Users browsing this forum: No registered users and 7 guests