Forum Moderators: phranque

Message Too Old, No Replies

Limit access to site by ip pool

         

mudogg80

1:35 pm on Dec 11, 2007 (gmt 0)

10+ Year Member



Running Apache web server, how do I allow access to my website to all computers at "Company A"? I have heard of IP Pooling, but am not sure how to accomplish this. This is basically like a site license for "Company A" and its computers.

Can anyone provide me with some information on ways to accomplish this task?

Greatly Appreciated!

wilderness

2:29 pm on Dec 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To clarify this, so that others may assist you.

Is it your intention to exclude all others and only allow access by "Company A"?

mudogg80

2:47 pm on Dec 11, 2007 (gmt 0)

10+ Year Member



Sorry for excluding some pertinent info.

My intention is to allow full access to users at "Company A" (A license to access the website without having each user within that company pay for access), while still allowing all others outside of "Company A" to be able to purchase access to the site.

Does this help clarify?

Thanks

gergoe

3:06 pm on Dec 11, 2007 (gmt 0)

10+ Year Member



You will need to look into the mod_access documentation [httpd.apache.org], which will allow you to restrict access based on ip addresses or individual user authentication, but you can do both at the same time using the Statisfy directive [httpd.apache.org].

But keep in mind, that securing (protecting) your website with http authentication is not safe, unless you combine it with SSL, because the credentials are always sent in clear text with http.