Sean DiZazzo schrieb: > tg is very different from adobe air. tg is only a webservice in this > case. Do authentication in adobe air and forget the require > decorator... > > You could send username and password as post vars, but I'm sure thats > not safe!
This is both not correct. AIR is a client-side technology. But when it is supposed to make requests, it will (usually) do that using HTTP. And of course you need serverside authorization - which in TG is done using the require decorator. And the question of POST-vars being safe or not is also not depending on AIR or not. They are as safe as from a browser. Or as unsafe, unless you use HTTPS of course. In case of an AIR client, you will most likely only return JSON instead of HTML-pages. That's all there is to it. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

