In this small code snippet we will you, deny and allow access using htaccess
Deny access except from specific IP
Put this given code to .htaccess file which is your root directory
Order deny,allow
Deny from All
Allow from xxx.xxx.xxx.xxx
Allow from xxx.xxx.xxx.xxy
Allow except from specific IP
Also Put this given code to .htaccess file which is your root directory for allow access
Order deny,allow
Allow from All
Deny from xxx.xxx.xxx.xxx
Deny from xxx.xxx.xxx.xxy
Also read: How to Create DataTable with React Native?
0 Comments