Code Access Security


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.

Table 10-6: Code Access Permissions for Web Classes

.NET Framework Version

Internet

Intranet

Local Machine

1

None

Localhost

Anywhere

1.1

Localhost

Localhost

Anywhere




Network Programming for the Microsoft. NET Framework
Network Programming for the MicrosoftВ® .NET Framework (Pro-Developer)
ISBN: 073561959X
EAN: 2147483647
Year: 2003
Pages: 121

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net