Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate single computer?

Status
Not open for further replies.

vbkris

Programmer
Joined
Jan 20, 2003
Messages
5,994
Location
IN
o.k
this is the thread that was asked in PHP:
thread434-892573

Kaven said that this can be done in Apache, i am interested...

Known is handfull, Unknown is worldfull
 
I read the thread and I think you still can resrict access to only computers on your local network or subnet. Even considering the fact that the clients on the network have dynamic ip addresses, the only thing that changes is that last octet i.e. 192.168.1.xxx. You can setup your site to only allow from your subnet. Here's how that is done.

Code:
Order allow, deny
Allow from 192.168.1

This tells apache to evaluate "Allow" first while setting the default state to "deny".


 
I guess I should have mentioned that it doesn't have to be an ip address. It could also be a url or local domain.

 
i will try that and get back...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top