Oscar was posted at 99-6-15 09:44:00 in Joy ASP:
Automate the creation of a virtual directory using ADSI, ASP, and a pair of magic tricks, Part II
Tom Moran and Jeff sandquist
February 22, 1999
We're back. The second part of this article, which is eagerly awaited, is now here. And I think you will spend the whole evening watching your cat clean yourself.
This month, Jeff sandquist and I completed our Dynamic Directory Service interface (Active directory Services interfaces, ADSI) applications. If you come a little late, there is no problem; just see part 1 of this series http://www.microsoft.com/workshop/server/asp/server012599.asp. Last month, we identified a user as a member of a privileged group. We then display a form that includes a list box with each user name in that particular group of users. This form allows us to select a user and choose permissions for the user's new virtual directory. Now we'll get the data from this form and create a new virtual directory on the Web server, define it as an application, give the option to open script permissions, and specify the appropriate permissions on the folder. Jeff Sandquist will guide us in this process.
At the end of this article, we have an important, sad announcement that makes the Earth shatter. Clinton, O.J, Clemens and everything seems pale. I'm sure the AP will notice it, but you'll see it first. Please continue reading.
In the exhibition
Last month, our table existed in a virtual directory called Servin. We can use the Internet Information Server (IIS) security environment in Iusr_<machine Name> to perform the requested operation. We need an admin identity to create the directory and specify permissions.
One way to achieve this is to migrate the Iusr_<machine name> account to the Administrators group. A better approach would be to create a new virtual directory on the Web server (we will call Servinsecure) and set it to operate in an admin environment, rather than in a iusr_<machine name> environment. Our forms will be saved in the Servin directory
The form's processor will be saved in a directory called Servinsecure. Start the Microsoft Management Console (Microsoft Management console,mmc) and then right-click the default Web site to create a new virtual directory. Select New/virtual Directory. Create a virtual directory called "Servinsecure" (without quotes). You also need to provide a physical path to a folder that was previously created in your Web server file system. Once you have created this virtual directory, right-click the newly created virtual directory on MMC and select Properties to display the virtual directory attributes.
Select the Directory Security tab, select the Edit button, and then select Enable Anonymous ... to edit the identity confirmation method for this resource. A dialog box with the title authentication methods appears. Select the Edit button, and then select Account used for Anonymous Access. A final dialog box titled Anonymous User account appears. Change the user name default value from iusr_< machine name > to Administrator, deselect Password sync, and provide password for administrator account. Select OK on the remaining dialog box to make the change take effect.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.