tailieunhanh - Building Secure ASP.NET Applications phần 6

Điều này là tương đương với lựa chọn kiểm tra truy cập Thực hiện quá trình và mức độ thành phần kiểm tra hộp trên trang bảo mật của hộp thoại Properties của ứng dụng trong phần Dịch vụ. Lưu ý: Luôn luôn cho phép truy cập kiểm tra quá trình và mức độ thành phần cho các ứng dụng thư viện. | 262 Building Secure Applications Figure The .NET remoting architecture The client communicates with an in-process proxy object. Credentials for authentication for example user names passwords certificates and so on can be set through the remote object proxy. The method call proceeds through a chain of sinks you can implement your own custom sinks for example to perform data encryption and onto a transport sink that is responsible for sending the data across the network. At the server side the call passes through the same pipeline after which the call is dispatched to the object. Note The term proxy used throughout this chapter refers to the client-side in-process proxy object through which clients communicate with the remote object. Do not confuse this with the term proxy server. Remoting Sinks .NET Remoting uses transport channels sinks custom channel sinks and formatter channel sinks when a client invokes a method call on a remote object. Transport Channel Sinks Transport channel sinks pass method calls across the network between the client and the server. .NET supplies the HttpChannel and the TcpChannel classes although the architecture is fully extensible and you can plug in your own custom implementations. Chapter 11 .NET Remoting Security 263 HttpChannel. This channel is designed to be used when you host a remote object in . This channel uses the HTTP protocol to send messages between the client and the server. TcpChannel. This channel is designed to be used when you host a remote object in a Microsoft Windows operating system service or other executable. This channel uses TCP sockets to send messages between the client and the server. Custom channels. A custom transport channel can use any underlying transport protocol to send messages between the client and server. For example a custom channel may use named pipes or mail slots. Comparing Transport Channel Sinks The following table provides a comparison of the two main transport channel .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.