Hi,

 I need to restrict the users in a local network based on their IP
address.
The TurboGears identity provides identity.from_host('ip address')
method for this.

But,  cannot hard code all the IP addresses within the from_host()
function.

I am storing all the allowed IP addresses inside a look up table. So,
I need to provide dynamic data within the from_host() function like
from_host(ipaddresslist)

Is it posiible?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to