Threesuns

Email

Contact

All Semesters

Semesters

All Courses

Courses

PHP Programming (Online)

CSYS2463

3 credits

Labs

Biag's Library with Authentication

Lab

100 points

Requirements

All basic book CRUD abilities are present5
Anyone can view the book list and book details5
Only a logged in administrator can add, edit, or delete books20
CRUD capabilities for administrators is provided20
Only logged in administrators can access the administrator CRUD pages15
A login page is provided and works correctly20
The ability to logout is provided10
The application is easy to use and friendly to all users5
Total100 pts

Objective

To work with sessions to provide authentication

Instructions

Biag likes what you've provided for him to manage his library of books, so much that he wants to go public with it, but he's concerned about security. The problem is that if his library app is available online then anyone on the internet will be able to add, edit, or delete his books.

What he would like for you to do is to provide a way that he can maintain all of the capabilities in the app that he currently has but that the general public will only be able to view the list of his books and their details.

To do this you explain to him that you'll need to implement an authentication system for his site where he'll be able to login to gain access to the abilities to add, edit, and delete books, others who cannot login will only be able to view his books. He's okay with this but insists that he also be able to easily add other people to the list of authorized users so he can allow other trusted people to manage his library on his behalf.