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

  • Re: Error executing version of Net Framework
    ... folder on my web site, I have never register dll as usually I did with COM ... You don't need to register dll's in the bin directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error executing version of Net Framework
    ... "Juan T. Llibre" wrote: ... folder on my web site, I have never register dll as usually I did with COM ... You don't need to register dll's in the bin directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Interesting one : Retrieve a list of files within a web folder
    ... > I need to read the names of all the files inside a folder off my web site. ... > John. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Manually Created Web Site Does Not Work - What am I Missing?
    ... For each different Web site ... have the same name or folder structure as my VS project. ... The ASP.NET Dev Server runs as the Administrator account in VS 2008. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hit Counter not Working
    ... You must publish from the exact same folder that is on the web site ... Make a new folder ... This is a post for the server groups and forums. ... Sharepoint Admin to extend the site with FP extensions. ...
    (microsoft.public.frontpage.programming)