impersonation / changing ownership of uploaded files with IIS FTP
From: C S (techquestions@emailuser.net)
Date: 11/01/02
- Next message: Stewart Kember: "IIS 5 - Security Denied but access granted??? Help Please"
- Previous message: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Stewart Kember: "IIS 5 - Security Denied but access granted??? Help Please"
- Previous message: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|