TAILIEUCHUNG - Secure PHP Building 50 Practical Applications Development phần 3

Trong chương này, bạn đã học về một hệ thống xác thực trung tâm, trong đó bao gồm một tên đăng nhập và đăng xuất ứng dụng và chứng thực một cơ sở dữ liệu trung tâm. Tất cả các ứng dụng PHP trong mạng nội bộ của bạn hoặc Web có thể sử dụng thiết bị này xác thực trung tâm. | Chapter 5 Central Authentication System 155 1 row in set sec After logging out mysql select from sessions Empty set sec You can see that the session is started after and the session is removed once the user runs . Summary In this chapter you learned about a central authentication system which involves a login and logout application and a central authentication database. All PHP applications in your intranet or Web can use this central authentication facility. When an application is called directly by entering the URL in the Web browser it can check for the existence of a session for the user and if an existing session is found she is allowed access or else she is redirected to the login form. The logout application can be linked from any PHP application to allow the user log out at any time. Once logged out the session is removed. Having a central authentication system such as this helps you reduce the amount of code and maintenance you need to do for creating a seamless authentication process throughout your entire Web or intranet environment. Chapter 6 Central User Management System IN THIS CHAPTER Designing a user management system for the central authentication system Implementing a user management system Managing administrator and regular users Creating a user-password application Creating a forgotten-password recovery application A CENTRAL USER MANAGEMENT system is a set of applications that enables you to manage users for your PHP applications in a central manner. Using the applications developed in this chapter you will be able to manage user accounts that are stored in the central authentication database created in the previous chapter. Identifying the Functionality Requirements First let s define the functionality requirements for the user management system. The user manager must provide the following functionality Central user database The user manager must use a central user database. This is a requirement because of our .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.