Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Password Policy and Admin: Delete Blog Entries For security reasons you have decided to publish and enforce a password policy: Every password must be at least 6 characters and must include an...

1 answer below »

Password Policy and Admin: Delete Blog Entries

For security reasons you have decided to publish and enforce a password policy:Every password must be at least 6 characters and must include an uppercase letter, lowercase letter and a digit.

1. Modify login.html to allow a new user to register: 5 points

2. Add a new method to login.php to register a new user and to enforce the password policy: 25 points

If the password does not meet the requirements throw an exception and catch it back in "main"

3. For the admin login there is now an admin.html page. Within that page there is functionality to delete a blog entry. The code provided will work as long as there is no TAG associated with the blog entry. If there is a TAG (or TAGs) they must by deleted from the "post_has_tags" table before the blog is deleted. Failure to do this will result in an SQL foreign-key-constraint error.

Enhance the delete code to check for and delete tags if necessary: 30 points

Answered 1 days After Aug 04, 2022

Solution

Ruchi answered on Aug 06 2022
74 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here