how do I code a user created subdirectory?

From: jeff (ecom2002@hotmail.com)
Date: 07/30/02


From: "jeff" <ecom2002@hotmail.com>
Date: Tue, 30 Jul 2002 13:34:38 -0700


Hi all!

I have a web site that users can register on and then create a subdirectory
that will contain template.asp pages that will have some personalized
information. For example, John comes to the site, and wants to register.
Via a form, he can create a folder in c:\Inetpub\wwwroot named John and can
access it from www.mycompanyname.com/John . The problem I'm having, is not
actually creating the folder, but controling the permissions. The user, in
this case John, has to have write and execute permissions as IUSER to create
the folder in IIS, but then he can also modify the template.asp pages in
that folder if he were to open it in something like FrontPage.

How can I allow IUSERs to create a directory, yet still control the security
of the directory they created to be read-only. I know I could manually
create each directory, but I would like to do it in real-time.

Thanks in advance,
Jeff

jbrown@prosofttraining.com



Relevant Pages