At one point I implemented a few methods that allows someone to authenticate against apache and then have access to views. It would've been implemented as a decorator to a view if I had finished it. Thankfully the multi-auth branch was merged in and I do LDAP authentication against that now.
There are some security issues with this method, but I basically used the same method trac uses to authenticate with apache. The code is at: http://spr.mahonri5.net/2006/06/29/django-with-http-authentication/ I wouldn't use this code directly, but it should give you a starting point. Scott -- Scott Paul Robertson http://spr.mahonri5.net GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8fb dc5d 7601
signature.asc
Description: Digital signature