tailieunhanh - Apache Server 2 Bible Hungry Minds phần 4

ProtectedTicketSecretTable nói với các mô-đun vé và người sử dụng bảng để sử dụng trong cơ sở dữ liệu và những lĩnh vực là cần thiết. • ProtectedTicketPasswordStyle thiết lập kiểu mã hóa. Bạn có ba lựa chọn phong cách: truyền thống Unix. Băm một cách mã hóa (hay còn gọi là hầm mộ), | 210 Part II Web Site Administration The ProtectedTicketTable ProtectedTicketUserTable and ProtectedTicketSecretTable keys tell the module which ticket and user tables to use in the database and what fields are needed. The ProtectedTicketPasswordStyle sets the encryption type. You have three choices traditional Unix style one-way hash encryption crypt or plaintext not recommended or MD5. 6. Next add the following configuration lines PerlSetVar ProtectedTicketExpires 30 PerlSetVar ProtectedTicketLogoutURI protected PerlSetVar ProtectedTicketLoginHandler protectedlogin PerlSetVar ProtectedTicketIdleTimeout 15 PerlSetVar ProtectedPath PerlSetVar ProtectedDomain .domain_name PerlSetVar ProtectedSecure 1 PerlSetVar ProtectedLoginScript protectedloginform The following list tells you what s happening in the above configuration The ProtectedTicketExpires key sets the session ticket expiration time in minutes. The ProtectedTicketLogoutURI key sets the URL that is displayed after a user logs out. The ProtectedTicketLoginHandler sets the path to the login handler which must correspond to a Location container as discussed later. The ProtectedTicketIdleTimeout sets number of minutes a session is allowed to be idle. The ProtectedPath sets the cookie path. The default value of ensures that the cookie is returned with all requests. You can restrict the cookie to the protected area only by changing to protected or whatever location you are protecting . The ProtectedDomain sets the domain name of the cookie. The leading dot ensures that the cookie is sent to all Web hosts in the same domain. For example setting this to . would allow the cookie to be seen in or . You can also restrict the cookie to a single host by specifying the fully qualified host name here. The ProtectedSecure setting of 1 ensures that the cookie is secure. The ProtectedLoginScript sets the location for the login form which is generated by the module. .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
5    132    0    03-01-2025