OK, I'll try, btw what is the common way to solve this task?

My first idea was to encapsulate file sharing via the application
itself (http://host.com/givemefile.py?file_id=1), but I fear about
poor performance in this case.

Alex

On 19 сент, 22:52, "Carl Nobile" <[EMAIL PROTECTED]> wrote:
> Use Basic auth maybe with SSL and put the contents of the cookie, after
> base64 encoded, in the spot designated for the password. As long as the
> server can be told what should be in the user's cookie it should work. Basic
> auth really doesn't care where the data comes from as long as it can be
> authorized properly.
>
> But this really has nothing to do with mod_wsgi.
>
> -Carl
>
> On Fri, Sep 19, 2008 at 12:15 PM, Alex K <[EMAIL PROTECTED]> wrote:
>
> > Hi All,
> > I have the following task.
>
> > Let's say I've authorized some user and gived him a cookie. Now my
> > user wants to retrieve the file from the server. I want to implement
> > the following approach: Apache asks whether this request can be
> > served, I check the request(check cookie and IP) and say yes or no and
> > give Apache back the control over the file sharing (notice, no user/
> > pass dialogs here, user should be authorized already).
>
> > Is it possible?
>
> --
> --------------------------------------------------------------------------- 
> ----
> Carl J. Nobile (Software Engineer)
> [EMAIL PROTECTED]
> --------------------------------------------------------------------------- 
> ----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to modwsgi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to