title: Block site access other than selected people
body: <p>I and couple of other guys are working on a web project of my Company. Now the site is in its development stages and its not even ready for beta testing. Lately the project has been gaining popularity and people have registered for the site and also seen the inside part of the site which we dint want anyone to see.</p>
  
  <p>So I want to do something like the site is accessible only to couple of computers i.e who are working on the site and to users who just want to see the site. I have stored the site in root directory accessible directly by typing in the domain to gain easy access and also avoid database transfer during the release of site.</p>
  
  <p>I could do it storing IP address and then comparing it with the Client's Ip, but in India the IP address keeps changing almost every time i.e its a dynamic IP Address.</p>
  
  <p>And those try to access the site but not the web designers should be redirected to a different page.</p>
  
  <p>Could anyone help us with this? A code for it in php would be really helpful for us.</p>
  
  <p>Thank you</p>