Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

file server

Last post 11-26-2007, 3:57 PM by carlcamera. 1 replies.
Sort Posts: Previous Next
  •  06-21-2007, 1:51 AM 32040

    file server


    i have one folder in my domain server, in that folder there are five folders in them there are thousands of files in each of them. With these, I want to create one file server. The five folders had individual users. And also I want to create user interface which will appear in client systems in a web browser. In the very first page the five folders will appear, but the particular user only can open that folder and he can download the files in that folder and also he can upload files to that folder. one user can open only his folder he cant open other folders. this user authentication will be helded on file server which is in my domain server. How can I do this? Please give me any idea to do this!thanks in advance!

  •  11-26-2007, 3:57 PM 36909 in reply to 32040

    Re: file server

    One solution would be through Windows User Accounts and NTFS Permissions

    1. Create 5 User Accounts User1 User2...User5
    2. Create 5 Folders called wwwroot\User1 wwwroot\User2..wwwroot\User5
    3. In IIS allow directory browsing for those folders
    4. Deny IIS* access to user folders
    5. Allow User1 access to User1 folder .... etc User5 User5

    * IIS account name is different for different Windows Server machines.

    When an internet browser points to

    1. IIS notices that it is not allowed to show that folder
    2. The browser pops up an NTFS authentication dialog box
    3. Only User1 after authenticating would be allowed to view the contents

    See Also: IIS Impersonation



    vine type - content management with standards in mind -
View as RSS news feed in XML