|  | Posted by Stuart Miller on 11/06/06 21:05 
"John Salerno" <johnjsal@NOSPAMgmail.com> wrote in message news:454f9e81$0$26461$c3e8da3@news.astraweb.com...
 > Hi everyone. I was hoping someone could answer this question for me.
 > Let's say there is a directory structure such as this:
 >
 > http://www.company.com/dir1/dir2/dir3/
 >
 > And 'dir3' changes depending on which department you want to access.
 > If you want the website for marketing, you'd type 'marketing' as your
 > final directory in the URL.
 >
 > Anyway, what I'm wondering about is, is it possible to give someone
 > access to just that directory on the server for the purpose of
 > uploading html files (and general website maintenance)? If I work in
 > marketing, for example, (this is a made-up example, btw) and want to
 > be given access to just that folder, is this something an
 > administrator can do?
 >
 > To be a little more specific, let's use this made-up URL:
 >
 > http://www.company.com/finance/advertising/marketing
 >
 > Forgive my possible naivety when it comes to how companies are
 > strucutre, but just assume that the Finance department includes
 > Advertising, which includes Marketing. Can I have access to the
 > marketing directory on the server without also having access to
 > advertising or finance, or anything else on company.com?
 >
 > Thanks.
 Certainly what you want is possible, and there are a number of different
 ways to achieve it.
 This questions is probably more suited to how your server is configured
 thanto the actual html of it. You may get more information by posting in
 alt.apache.configuration.
 
 One easy way is to have 'userdir' setup, where a department can ftp into
 /home/marketing/public_html to set up the info. This is normal user password
 protection. Then a set up link from the home page of www.company.com  to
 www.company.com/~marketing, with some form of authenication such as
 ..htaccess for 'public' visitors.
 If you have a geocities web page, this is how they do it.
 
 I woul not have the separate department directories 'nested' like that, I
 would have them in parallel
 corporate
 - marketing
 -advertising
 -sales management
 - finance
 -treasury
 -accoutning
 
 
 There are secuirty issues here, and there are more secure ways to do this,
 but this is the basic concept.
 
 Stuart
 [Back to original message] |