Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Richard Lynch
On Wed, April 27, 2005 12:08 pm, Bret Walker said: > Well, the download.php script would allow me to protect certian files, > but is there a way to protect all files? For example, images that I > would like to include in my php pages. As noted, you could put your images outside the webtree and th

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Kenny Austin
Bret Walker wrote: > Well, the download.php script would allow me to protect certian files, > but is there a way to protect all files? For example, images that I > would like to include in my php pages. you can serve images through through download.php.. but that's just a bad idea :) > Could I s

[Fwd: Re: [PHP] LDAP and .htaccess]

2005-04-27 Thread Bret Walker
Re: John Hinton Perhaps my S/MIME cert. was preventing the text from coming through. This message is unsigned. Bret Original Message Subject: Re: [PHP] LDAP and .htaccess Date: Wed, 27 Apr 2005 14:08:14 -0500 From: Bret Walker <[EMAIL PROTECTED]> To: php-general@lists.p

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread John Hinton
Bret Walker wrote: I'm not too sure, but it seems to be having an effect you any text showing up in your emails. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Bret Walker
Well, the download.php script would allow me to protect certian files, but is there a way to protect all files? For example, images that I would like to include in my php pages. Could I silently pass a username and password to htaccess? Can htaccess be set to use a php script instead of a htpass

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Kenny Austin
Bret Walker wrote: > Hello all- > > I am looking for a way to protect a directory's contents by > authenticating against Active Directory via LDAP. I currently have a > nice little php script that tries to bind to LDAP via a username and > password entered in a form. If it fails to bind, the use

[PHP] LDAP and .htaccess

2005-04-27 Thread Bret Walker
Hello all- I am looking for a way to protect a directory's contents by authenticating against Active Directory via LDAP. I currently have a nice little php script that tries to bind to LDAP via a username and password entered in a form. If it fails to bind, the user is denied access. If it succ