The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restricting user access to domain

Discussion in 'General Discussion' started by wonkavator, Jan 12, 2007.

  1. wonkavator

    wonkavator Registered

    Joined:
    Dec 31, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page