Deploy WebService/IIS allows anonymous access

Source: Internet
Author: User

IIS WebService deployment

 

1. In vs2008, choose new> Project> Web> WebService.
2. Compile and run helloworld.
3. 1) create a virtual directory in IIS
Set project properties-> Web-> servers-> use local IIS server
Project URL: http: // localhost/webservice1
Create virtual directory
2) create dir eg: Service
Copy app_data, bin, service1.asmx, Web. config
In IIS right-click the default site, create a virtual directory, and find the directory address above
Broser (Run view)

Set in IIS to allow anonymous access 2
(That is, IIS uses a user password to log on by default)
Remember to add this user to the permission

Questions about anonymous access? : Anonymous Access (checked) Integrated windows verification (checked or not)
Right-click my computer and select Manage to go to the Computer Management page,

Select "services and applications" in sequenceProgram-Internet Information Service, right-click the website you have created, open the Properties window, click the "Directory Security" subitem, and edit it in the anonymous access and authentication control area, select "Anonymous Access" in the first item, deselect the check box before "Integrated windows Verification", and press "OK.

 

Set in IIS to allow anonymous access

Nowadays, many broadband users, especially those with static fixed IP addresses, prefer to use Windows2000 + IIS as a web server in their own homes. However, some of them found that it was normal to open the website from their computer, but they asked to enter the user name and password when accessing from the Internet. How can I set it so that the Internet can be accessed without entering the user name and password?

In fact, if the server runs normally, it indicates that IIS is correctly set. for Internet access, you need to accidentally select "Integrated windows Verification" as the username and password. You can set this in IIS.

Right-click my computer and select "manage" to go to the Computer Management page. Select "services and applications-Internet Information Services" in turn ", right-click the website you have created, open the Properties window, click the "Directory Security" subitem, edit it in the anonymous access and authentication Control Section, and select the first "Anonymous Access" option ", cancel the check box before "Integrated windows Verification" and press "OK.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.