Linux programming unleash phần 9

Các phương pháp addMouseListener được sử dụng để kết hợp một thể hiện của MouseListener với một nút (hoặc bất cứ thành phần nào khác). Bây giờ, nó có thể định nghĩa một lớp học riêng biệt thực hiện các giao diện người ngheTuy nhiên, có một lớp tiện ích MouseAdapter định nghĩa | Special Programming Techniques 674 Part V across multiple machines which has both advantages and disadvantages. DIPC is not available on other platforms kernel mods are required . Programs that use DIPC may also have to deal with byte ordering problems. Named pipes rely on the existence of a separate fifo object in the filesystem for each possible simultaneous connection and probably do not queue connection requests it appears that they honor file permissions. Psuedottys can probably be used as an IPC mechanism. A variety of signals may be delivered. Filesystem permissions are checked but the filesystem objects are shared with other programs like telnetd and so permissions need to be set at runtime by a process running as root. You need a way to tell the other process which psuedotty pair to use. TLI allows access to uids gids but apparently it isn t very well documented. TLI is not that widely available and may not even be available on Linux. The identd Daemon The identd daemon runs on computers and may be polled to determine the name of the user who owns a particular open TCP IP connection using the RFC 1413 protocol. The data returned by identd is not necessarily trustworthy but is still useful. Only trust the data from an identd server for authentication purposes if you trust the security of the machine and the integrity of anyone who has root access. identd is typically used to identify users and log that information. If there is trouble that information may help narrow down the blame. Of course anyone can run a bogus identd server on any machine they control. That is actually not the weakness it appears to be because after an attack your action will be to deny access to the smallest group possible which includes the attacker. If you can narrow it down to a particular user you deny access to that user otherwise you deny access to the entire machine or even an entire network. If you accept connections from the localhost or other secure machines on your local .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.