hey, i'm toying with the idea of adding a feature to one of my db's which will create a directory on the fly, this directory however needs to be password protected, it also needs to have 2 users that can access it, the admin (me) and them (whoever)
i thought the making of the directorys would be easy enough with mkdir. but how to make the .htaccess file, or am i missing something? is there another way? i'm completely open to ideas etc. i'm running on apache.