This application authenticates users against Active Directory using ADSI and creates a virtual ftp and web site as well as physicall directory
Category:C#, VB.NET, ASP.NET
Version Compatibility: Visual Basic.NET
This application authenticates users against Active Directory using ADSI. If they are not in the students OU then a virtual ftp site and virtual web site and physical directory is created on the server, the user is sent a confirmation email with instructions on how to upload files. All the permissions are setup on the folders and the users folder is isolated from everyone elses. This uses clear forms authentication so no ugly windos login box. After everything is created it then throws the information into a SQL database for later use. This code can be extended to accomplish much more.Before using this IIS needs to be setup correctly. Change the user on this web folder to a user that has Active Directory rights and rights on the server to create files and folders. If using SQL it needs to be setup and the code adjusted accordingly.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download adsi work.zip