We want our website to be accessed only by few IP's, we listed those IP's in txt file and our server is Apache. Can any one please give a solution for this, thanks in advance.
i propose you to work over the router or firewall that is hosting your site you can generate an .acl files with the IP'S and create a rules that will allow traffic just for the ip'S listed in the files. www.countryipblocks.net/acl.php1