Jim Steil schrieb: > Derick Eisenhardt wrote: >> The project I'm working on has not gone public yet, be we also use js >> widgets for the UI like Daniel's site, although we use Dojo rather >> than ExtJs. >> >> On Jun 1, 8:55 pm, Jim Steil <[email protected]> wrote: >> >>> May I ask how you handle authentication with the Javascript backend? >>> I'm interested in doing some Flex front-ends but haven't had the time to >>> dig into the authentication integration with the TG backend. >>> >> >> It's actually quite simple Jim. You just have to authenticate against >> the functions that call for that JSON or save it back to the server. >> If a particular user doesn't have permission to pull a certain piece >> of data from the server, the client-side can't really do anything >> without it. >> >> > So, are you then passing a userid and password with every request? Do > you just cache the userid and a hash of the password in a cookie or > something?
there is no difference between an ajax-call or a "normal" http-request, so whatever the browser transmits to persuade your web-apps that the request is authenticated and authorized is transmitted as well. repoze.who usually uses cookies afaik. 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 -~----------~----~----~----~------~----~------~--~---

