all groups > iis ftp > february 2006 >
You're in the

iis ftp

group:

how to get two accounts to point to the same ftp directory with different permissions


Re: how to get two accounts to point to the same ftp directory with different permissions AllenM
2/15/2006 1:33:46 PM
iis ftp:
C:\inetpub (Admin FULL CONTROL) (User LIST)
\ftproot (Admin FULL CONTROL) (User LIST)
\localuser (Admin FULL CONTROL)
(User LIST)
\xyz (Admin FULL
CONTROL) (User WRITE)

You will have to provide READ/WRITE to the home directory in IIS


[quoted text, click to view]

how to get two accounts to point to the same ftp directory with different permissions ESmith
2/15/2006 2:04:51 PM
I have this scenario that I need to setup:

I have a client XYZ, there should be a user account that will allow a user
to upload a file to their directory, but the user cannot list, read, delete
from the directory (what goes in, stays in). I need a second user, an
admin, who *can* do all the things that the plain vanilla user cannot.


I have setup these users: xyz and xyz_admin_user

My directory structure looks like this:


C:\inetpub\ftproot\localuser\xyz

I created a virtual directory called xyz pointing to this directory and I
have the permissions created properly for the xyz user. This works as
expected.

My question is - how can I setup the xyz_admin_user to go to the same
directory, but have a different permission set?

In other words, when xyz_admin_user logs in, he will go to
C:\inetpub\ftproot\localuser\xyz and be able to download/delete/etc the
uploaded documents.

TIA!

Re: how to get two accounts to point to the same ftp directory with different permissions ESmith
2/16/2006 7:42:16 AM
AllenM,

Thank you for your reply - one last question if I may. I want both the
xyz and xyz_admin_user to logon to the same directory.

Here's what I've done so far

1. Created both users.
2. Created the directory xyz Underneath: c:\inetpub\ftproot\localuser
3. Created a virtual directory called "xyz" and mapped it to the
directory in (2) above.

When user xyz logons, they go to the proper directory.

I now want to map user xyz_admin_user to the same directory - here's what I
tried (and failed):

4. Created a directory xyz_admin_user underneath
c:\inetpub\ftproot\localuser
5. Created a sub-directory xyz within the directory created in (4) -
Someone else said this would work (not)
6. Created a virtual directory called xyz_admin_user and mapped it to
the xyz directory created in (2).

Now when xyz_admin_user logons, he goes to the xyz_admin_user directory in
(4) and cannot navigate to the rel directory created in (2). If I remove
the xyz_admin_user directory created in (4), the user cannot logon.



[quoted text, click to view]

Re: how to get two accounts to point to the same ftp directory with different permissions Bernard Cheah [MVP]
2/23/2006 6:25:04 PM
If I get you correctly, I don't think you can auto redirect 2 users to 1
folder.
you will need 2 users home folder. then you need to create a virtual
directory, which map to the xyz folder.
xyz_admin will do a 'cd xxx' to access to their folder, with proper NTFS
permissions in place, you should get what you want.

grant read+write for admin user and read only for normal user.

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button