impersonation / changing ownership of uploaded files with IIS FTP

From: C S (techquestions@emailuser.net)
Date: 11/01/02


From: "C S" <techquestions@emailuser.net>
Date: Fri, 1 Nov 2002 15:47:03 +0800


Suppose I have a web site called abc.org, where the web site root is stored
in c:\abc. I have set up an FTP site whose root is also c:\abc so that
several user accounts abc (the main account), def and ghi (secondary
accounts) can log in to upload their files to the web site.

What I want to do is to charge fees according to quota. So I would like to
make sure that all files uploaded by def and ghi are included in the quota
for abc, who has signed up for a paid service.

The problem is that with IIS FTP, ownership of the files uploaded by def and
ghi will belong to those users respectively, and hence the quota will not be
included in the account abc.

Is there any way to set impersonation so that ownership for def and ghi is
automatically changed to abc if they use any FTP client? I would prefer not
to use an uploading page which I would have to script, but allow users to
use any FTP client they wish (and hence change a setting on the server
itself).

** A possible method**
I know there is a program on the win2k res kit called subinacl which can
change ownership of files, but is there any way to detect when files have
been uploaded and then run a script to change the ownership?

Any answers would be much appreciated :)
C S



Relevant Pages

  • RE: sharing info between Access and a website
    ... server via FTP, replacing the existing file. ... before the upload process. ... hours (when users are not activly using the web site) then you could actually ... I'd like to download those changes into Access, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Earthlink cant upload in http
    ... FP admin is extremely misunderstood by a lot of hosts. ... TRY it FIRST - before resorting to ftp, ... | I think -- but the earthlink techs say the upload must be done in ftp. ...
    (microsoft.public.publisher.webdesign)
  • Re: publisher could not save the file to the web
    ... Publisher just won't upload properly. ... Unfortunately I can't load my Publisher web site using ftp because publisher ... It's only a 6 page web site. ...
    (microsoft.public.publisher.webdesign)
  • RE: FTP
    ... FTP stands for File Transfer Protocol. ... For example you develop a web site on your PC at home and then want to ... upload your website to a web server; an FTP application is what you would use ...
    (microsoft.public.office.setup)
  • OT: software for uploanding pictures
    ... I have a photo of my XFM-1 ready to upload. ... to put it on my web site. ... I need to FTP it up. ... and install, I find it is now for purchase only. ...
    (rec.models.scale)