Description
Using the application code in W1 Assignment 3, you will further examine the potential for attack and defense in the areas of input validation, access control, and session management.
Click here to access the code (you will need to modify the code based on the questions below).
Create a report in a 2- to 3-page Microsoft Word document addressing the following:
- Locate the PHP code for validating the user's login information. Use the variables defined there to restrict the content page to only those who have successfully logged into the system.
- Describe how the session is managed from page to page in the application. How long is the session active by default? What conditions will end the session?
- Identify the form validation rules that need to be put in place for the login form and the registration form. What format should the data have? What is the maximum length of each item? Identify the necessary functions in JavaScript and PHP to create these validation rules and list them in your report.
Note: You will write the functions for the form validation in W3 Assignment 2, so the more you prepare now the simpler that exercise will be.
Support your responses with examples.
Cite any sources in APA format.
Explanation & Answer
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
Of Mice and Men
by John Steinbeck
Fences
by August Wilson
The English Patient
by Michael Ondaatje
The Prince
by Niccolò Machiavelli
The Goldfinch
by Donna Tartt
The President is Missing
by James Patterson, Bill Clinton
Where'd You Go Bernadette
by Maria Semple
The Call of the Wild
by Jack London
The Iliad
by Homer