Cezary Statkiewicz wrote: > It will be safe if you'll check client's IP. First of: > > http://routes.groovie.org/manual.html#conditions > > client's IP is reachable thru environ['REMOTE_ADDR'] key, so you can > add function condition to routes and access to controller clients from > inside/outside.
You can also use paste.auth.grantip to configure IP authentication of sorts (you'll still have to check in __before__ or elsewhere, but you wouldn't have to check for specific IP addresses). -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
