>> Date: Thu, 12 Oct 2006 01:46:44 -0700 (PDT) >> From: anil maran <[EMAIL PROTECTED]> >> Subject: do you know how to do this >> To: Alan Gauld <[EMAIL PROTECTED]> >> >> The user, password and group are stored in a session on disk using >> flup.middleware.session. You can change this to fit your needs like in >> a database. I think someone have already extended the flup session with >> a database store? >> >> Use the decorator function on your GET and POST method to set >> authentication and provide which group are allowed. >> >> If auth is set to True and user/password/access did not match, a >> redirect is made to /login.
Anil, can you try to refocus your question? You have to be more specific than "Do you know how to do this?" because that can invite really flippant answers like "Yes" or "No". That's not going to be useful for you. Instead, try focusing us on what problems you're having. >From your message with Alan, I see a general problem statement with several requirements necessary for a solution. It really looks like a homework assignment. We are not allowed to go into a particular solution; we're going to have to limit ourselves to reduce the confusion you have with the problem, but that's it: you're going to have to do your own work on the problem. Is there any part in your assignment that you don't understand? Is there any part in there that you do understand? Do you understand all the terms used in the problem? At what point are you getting stuck? Have you worked on any other problem that's similar to the one you're looking at now? Good luck. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor