Blog Site I 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, l owercase letter and a...

1 answer below »

Blog Site I

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, l

owercase 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"

—Please verify and confirm the code done above is correct__

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 for admin.html to check for and delete tags if necessary


Answered 1 days AfterAug 14, 2022

Answer To: Blog Site I For security reasons you have decided to publish and enforce a password policy: Every...

Salony answered on Aug 16 2022
12 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