How can i allow access to a domain in lighttpd for only some of my own machines when they don't have (always) a static ip?
|
feedback
|
|
One possibility would be to set up a firewall and to packet filter it based on MAC addresses, which should be static even for dynamic IPs. You could also rely on mod_auth and only allow authenticated connections to these domains. A bit more complex than a network based solution but you could possibly rely on SSL client authentication.
| |||
|
feedback
|
|
Put this in your lighttpd.conf (don't forget to replace your.ip.addr.ess with the IP address of the server): $HTTP["host"] == "your.ip.addr.ess" { url.access-deny = ("") } | |||
|
feedback
|