Thank you so much, I'll give a try.
>>I'd like to avoid windows authentification, any clue?.
>And yes, there's a lot of users wich will not be at our network domain...
>You'll probably have to create a windowsidentity object using the credentials that you requested, then use the .Inpersonate() method. That should get you 80% of the way there.
>
>>Hi, our company is trying to do an ASP.NET site where the webpage can access to some especific directories based on NTFS permissions. The steps will be the following:
>>>
>>>a) In the login page we can enter user and password.
>>>b) Based on the login, the webpage can (or can't ) access to some directories based on a similiar pair of user/pass into the NTFS rigths (based on group/user permissions).
>>>c) If user/pass are correct the webpage could access the files on the directory.
>>>
>>>If this possible? or should be use the Active Directory permission method?
>>>
>>>Thanks in advance
>
>>If you use windows authentication this will happen automatically.
>
>>Are any of the users of your app not users on your network domain?