in reply to Re^4: CGI and web services
in thread CGI and web services

Now I need to perform basic HTTP authentication. Any pointers there?
That depends, what is the source of the usernames/passwords? Some kind of local database you control, or do you authenticate them through google?

Addendum: for those monks (ie: me) who dont usually care to go looking for proprietary API docs, it would help to include a link to them :)

__________
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
- Terry Pratchett

Replies are listed 'Best First'.
Re^6: CGI and web services
by dshahin (Pilgrim) on Jan 30, 2007 at 22:53 UTC
    it's my own username and password sent back to me from google. I'm trying to access the Authorization header but it seems to have been stripped by the time it gets to my script. Any tips?

    dan shahin

      In that case, you could probably just let Apache handle the authentication by using an htaccess file in the directory containing your script. I believe that should work, unless I'm missing something.

      __________
      The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
      - Terry Pratchett