Hey Adrian, what you want to do is something like this (in urls.py):
match_resource = Collection(
queryset = Match.objects.all(),
permitted_methods = ('GET', 'DELETE'),
responder = JSONResponder(),
authentication = HttpBasicAuthentication
(authfunc=client_http_basic_auth)
)
this lets you do HttpBasicAuthentication. What I did is I wrote my
own "authfunc" called client_http_basic_auth that basically compares
the username and password to my application-specific user table
(Rather than the django one). I ripped the password hashing stuff
from the user create stuff from the admin package (set_password,
check_password, get_hexdigest, etc).
This is nice because you can do Http auth based on a database rather
than a file in apache.
Does that help?