Chapter web site posted -IIS security infrastructure problems, solutions

One problem: the virtual machine networking issues

① bridge mode: a common physical card and the host, the network cable plugged in, manually configure the IP, Netmask, gateway, DNS, in need of such virtual machines configured with hosts have the same network segment, but not a network number, can not be this segment host and other conflicts (this mode can communicate with other hosts and machine room)

②NAT Mode: Select NAT mode, change the settings in the adapter is set to automatically obtain a virtual machine, you can get online, sometimes not assign good, put the local connection to disable it and then turn it (complete address and assign hosts to nothing relations, principles with a home router that allows mobile computers have Internet access)

   PS: In the computer network, a network address translation (Network Address Translation, abbreviated as the NAT), also known as the network or IP mask masking (IP masquerading.), Rewrite the source IP address by IP packets A router or firewall technical or destination IP addresses. This technique is commonly used in more than one host is accessing the Internet through just one public IP address of the private network. It is a convenient and technology has been widely used. Of course, the NAT also allows communication between the host becomes complicated, resulting in a reduction of communication efficiency.

 

 

Bridging problems can occur when, at this time we open the toolbar to edit in the Virtual Network Editor, go in the beginning is no way to edit, change the settings so we click on the figure as administrator settings

 

 Under normal red box is automatic, may be bridged wrong, we can choose the first one is automatic under the bridging wired, wireless bridge is the third


 

Second problem: when someone publish a Web site to access the display must be updated query

The total find this site folder, right attributes - security (Linux in the Modify permission by the owner is a group, Windows is by here)

 

 End point to add the following pages, enter the e red box in the left and right red frame checkpointing name, to completion, and then OK

 

 Check Full Control OK it (drone under such circumstances may be, the actual circumstances of this authority is too high)

 

 

 PS: small supplement knowledge, this is the red box under Shane

This site in IIS on the right - Directory and Security - editor

 

 We will find that this is just seen an account, we do not require access to these sites when we enter the account password, so we are all anonymous access, anonymous access but does not mean we do not have identity, we are in this account authority, have IIS installed this account, no not installed


 

 Question three

Access www.baidu.com:9000, following FIG.

 Solution: Open the IIS, to find this URL, right property

 

Click Documentation - Add - Write index.asp- OK

 

 

 

The reason of the operation: Since our web site home page is index.asp, but did not set a default, so need to set up

 

 

 

 

 That's all (because of the above election in the election this path is sheying website www)

We can see a website has many components, so each site wants the user logs on can see a first interface, there is index.asp, there default.asp (If php, is index.php, or default.php)

  So properties in the document is determined by moving down Home


Question four

We index.htm deleted, note that at this time the main directory of this option is not checked, click Apply

 

 

 Back to refresh the page becomes like this

 

 

 Go back and check on the directory browsing

 

 

 It can be found, and no home appear, but the catalog lists all the files should not be given the authority to tell the truth


 

Five questions

Some sites have pages of normal, but the background does not open, as follows:

 

 

 

 

 

 Correct way:

Point Properties - Home Directory - Configuration

 

 

 The pop-up box, select the Enable parent paths - OK

 

 

 Background page back to normal

 The reason: Some website design when using a relative path, then we need to enable parent paths


Question six 

And there are such sites not open file formats

 

 

 Methods: The need for such a permit had


Question seven

There are such a database (.MDF in the data at the site where) and the website does not open, you need to install the database software, this software is loaded into the database go

Load: Open the software, login, account sa, password is set when you install the software

If the password is forgotten, the red frame is arranged as shown, be connected click Change password

 Successfully logged in, the red box in the illustration right - Additional Database

 Pop-up box "Add"

 Find the file selected - OK

 Jump and then point to determine the loading is completed, the database is up and running (SQL Server Administrator account by default: sa)

But this time the program yet and connect to the database, so we need to look at this site catalog INC, or CON folder

 

 Into the folder, we find this file

 After which there is open connection to the database account password, be sure to remember the admin account is "sa" local: site on the 250, 251 in the database, this place must enter each other's IP

PS:

Do not want this database, according to the operation of FIG. (If you are using, the first point off, then separated)

PPS: right property can change the password Han


Question eight

In addition to two kinds of websites (web service extensions NET is prohibited, there is no corresponding database software) is not running, the solution is as follows, to allow the top

Over~~~


 

Guess you like

Origin www.cnblogs.com/ApricityJ/p/12656341.html