Creating Multiple FTP Users and Containers (2000 Server + IIS)

From: Matt T (T_at_discussions.microsoft.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 13:43:06 -0800

Hi. I’m hoping someone here can help me with some if not all of this question.

I’ve been assigned the task of creating 200+ local user accounts on a
Windows 2000 Server and create corresponding Containers/Virtual Folders in
IIS Administrator for an FTP site.

I’m hoping I can script some, if not all of this procedure, but I am a
complete Windows Scripting novice so I’m hoping that I can get some help on
how to proceed.

For the local users I need to be able to do the following:

Enter the username and full name, both of which will be the same. They will
be in the following incremental format: user1, user2, user3 … user200
I will need to enter a description and a custom password. I will also need
to configure the password so the user cannot change it and it never expires.

Once the user is created it will have to be removed from the users group and
added to the ftp-users group.

A ‘Local Path’ will also need to be set on the Profile tab. This path will
point to incrementing folder names: i.e. user1 will have a local path of
D:\folders\site1; user2 will have a local path of D:\folders\site2

I believe this is all possible through scripting; however I am very
unfamiliar with it, as it is somewhat out of my normal area of work.

What I am even more unsure of is scripting the creation of Virtual Folders
in IIS Administrator.

I need to create virtual directories with incremental aliases: i.e. site1,
site2, site3 … site200

The FTP Site Content path will then need to point to the corresponding
user’s local path folder: i.e. site1 will need to point to the local path of
user1

The access permissions of the virtual folders will need to be set to
read/write.

Once this is done, Web Sharing will need to be enabled for each of the
‘real’ FTP folders in D:\folders. The permissions will need to be set to
read/write and no executables.

Inheritable permissions will need to be deactivated for each folder in
D:\folders\ and the permissions list will need to be modified. The ‘users’
account will need to be removed from the list and the corresponding user
account will need to be given ‘modify’ permissions (everything except ‘full
control’): i.e. for folder D:\folders\site1, user1 will need to be added with
modify permissions.

Finally ‘High Isolation’ will need to be set for the FTP site within the WWW
Container in IIS Administrator.
I hope I explained this properly…

As you can see, doing all this for 200 users would take a long time and
scripting, even if it was only partial would be a life-saver. Any help
offered will be greatly appreciated!

Matt



Relevant Pages

  • Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)
    ... > IIS Administrator for an FTP site. ... > complete Windows Scripting novice so I'm hoping that I can get some help ... > What I am even more unsure of is scripting the creation of Virtual Folders ... The permissions will need to be set to ...
    (microsoft.public.windows.server.scripting)
  • Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)
    ... >complete Windows Scripting novice so I’m hoping that I can get some help on ... >What I am even more unsure of is scripting the creation of Virtual Folders ... The permissions will need to be set to ... >account will need to be given ‘modify’ permissions (everything except ‘full ...
    (microsoft.public.windows.server.scripting)
  • Re: ASP.Net Security Problems.
    ... I lied to you i'm not using a local path for my wwwroot, I'm using a network ... folders, aperently the ASPNEt account can't conect over network shares even ... >> folders under these folder's inherit the permissions of it's parent. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ASP.Net Security Problems.
    ... I lied to you i'm not using a local path for my wwwroot, I'm using a network ... folders, aperently the ASPNEt account can't conect over network shares even ... >> folders under these folder's inherit the permissions of it's parent. ...
    (microsoft.public.win2000.security)
  • Re: ASP.Net Security Problems.
    ... I lied to you i'm not using a local path for my wwwroot, I'm using a network ... folders, aperently the ASPNEt account can't conect over network shares even ... >> folders under these folder's inherit the permissions of it's parent. ...
    (microsoft.public.inetserver.iis.security)

Loading