Restricting user access to domain

wonkavator

Registered
Dec 31, 2006
1
0
151
Hi,

I am building a site and I only want users from certain domains to be able to access my site. How can this be accomplised...

For example: let's say that I have my domain as abccompany.com and I only want people from xyzcompany.com to be able to have access to the website. xyzcompany is global so they have many locations around the world but will access my site only through their secure company website of which they have to login to get to my site. does that make sense.

I only want users of xyzcompany to access my site.

Thank you so much in advanced I am not really sure how to do this in cpanel
 

pjman

Well-Known Member
Mar 22, 2003
101
0
166
New York
Just use basic htaccess files

or You can use the password protected directory function within Cpanel. Just click on the directory you want to protect. I'm not sure if it let's you protect the root directory, but you can always create an htaccess your self.

If you have a firewall, you could allow IP only access too.