Hi Folks,

I've read the docs for authentication but I can't see how I can replicate 
existing functionality I have using php.

I have a directory /private on the web server, marked using .htaccess 
and .htpasswd to only allow access if a username is passed.  Anything I put 
inside this directory (images, html etc) all require the password before the 
asset can be returned to the browser.

Is there any way to do this with django auth?  I need to have confidence that 
nothing can be returned (including direct image urls) from the /private 
directory without login.  Can I use http .htaccess style authentication with 
django?

Thanks,

Tim.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to