You are here: Re: [PHP] LDAP and .htaccess « PHP « IT news, forums, messages
Re: [PHP] LDAP and .htaccess

Posted by Kenny Austin on 04/27/05 23:23

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 silently pass a username and password to htaccess? Can htaccess
> be set to use a php script instead of a htpasswd file?
why are your username/passwords safer in script.php then .htpasswd?

I still think your best route would be auth_ldap. If you directory
server doesn't allow anonymous searches, have the admin create a low
privileged account that only has access to search the required attributes.

Kenny

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация