I have a directory which requires an authenticated user to access. In that directory I have a subdirectory into which I want to place uploaded images. When I try to move_uploaded_file(s) into that directory I get a permissions error. I'm not sure which user is actually doing the write (apache or the authenticated user). I'm guessing the authenticated user based on the error. What I want is my PHP script to be the only way to write to that subdirectory since it does all the necessary validity checking. How do I set up my permissions and <Directory> attributes to make that work? TIA.