Ow Mun Heng wrote: > Yes that's true, but, I don't really want to go into implementing an > LDAP server/service right now. > Besides that, I'm looking at using the autoindex script for web-based > file storage. It doesn't support LDAP. (AFAIK)
The sql-way seems more complicated to me. I suspect there is something that I may be missing or don't understand. The auotoindex is used only to generate an HTML list of the contents of a given directory. Not to manage that contents. The access to that directory can be restricted using authentication. Then things like mod_auth_mysql can become handy for example to use only one authentication for the "protected area" and for the site's forum (though this won't work with forums like SMF, which use a..hmhm..let me say "strange" way to store passwords). If your idea is to make something like a file sharing site, where depending on the login credentials a user could only download files or again depending on the credentials the user could also upload files the easiest way is to use a cgi script (perl, php, "whatever") for uploading. The script should reside in a directory where only "unloaders" have access and should save the uploaded files in the "downloads" directory. That is the easiest way I can think of...if I have understood you correctly at all. HTH -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list