Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How would you do the following using Python and Python Flask: Password Login form - This Python form allows a user to login to a

How would you do the following using Python and Python Flask:

Password Login form - This Python form allows a user to login to a simple web application with a username and password. A file can be used to store the username and password for validated users for this activity. No additional Web application functionality is needed after successful login other than a Greeting of your choice and the ability to update the password in a form.

b. Password update Form - This Python form allows a user to update a user's password after they have successfully logged in.

c. Authentication functions - These Python functions that will check the following NIST SP 800-63B criteria are met upon login or upon password update: SHALL be at least 8 characters in length

SHOULD be no more than 64 characters in length

SHALL implement a time-based rate-limiting mechanism that effectively limits the number of failed authentication attempts that can be made on the subscriber's account. For this exercise throttling should start after 15 attempts.

When the subscriber successfully authenticates, the verifier SHOULD disregard any previous failed attempts for that user from the same IP address

d. Logger - Log all failed login attempts. The Log should include date, time and IP address.

e. Log Analyzer - Python log analyzer application that reads the log file created in part d to identify and geo-locate all IP addresses where more than 10 failed attempts in a period of less than 5 minutes. The geolocation should include the Lat/Long value provide from the IP Address location.

A sample report might look like this: 100.16.4.23 had 12 failed login attempts in a 5 minute period on Jul 7, 2019.

100.16.4.23 has a Lat/Long of 41.2908816/-73.610759.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions