As seen with other .NET network classes, use of the Web classes is restricted depending on where the executable is running from. Table 10-6 lists resources the Web classes can access from the various application zones. For example, an application accessed from an intranet share can only connect back to the same machine on which it is running (the localhost). Notice that version 1.1 of the .NET Framework allows applications run from the Internet zone to access the localhost, whereas this was not allowed in version 1.
.NET Framework Version | Internet | Intranet | Local Machine |
---|---|---|---|
1 | None | Localhost | Anywhere |
1.1 | Localhost | Localhost | Anywhere |