Python application project | Computer Science homework help

  

This exercise (50 points) uses the AWS Cloud9 environment develop and fully test a set of tools and Web Forms to perform the following functionality: 

a. 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 compare the prospective secrets against a list that contains values known to be commonly-used, expected, or compromised (Provided as CommonPasswords.txt) 

• If the chosen secret is found in the list, the application SHALL advise the subscriber that they need to select a different secret, SHALL provide the reason for rejection, and SHALL require the subscriber to choose a different value 

• 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 – Create a log to log all failed login attempts. The Log should include date, time and IP address. 

e. Log Analyzer – Create a 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. 

Hints:

  

1. Leverage the File I/O, Flask and Data structures work previously performed in the class. 

2. Use functions to enhance code reuse and modularity. 

3. Use the AWS Cloud9 IDE. 

4. Use Python Lists or other data structures to store the Common Passwords and then appropriate search functions to expedite comparisons. 

5. You can use “request.environ[‘REMOTE_ADDR’]” to obtain the client IP address. You will need to import the request package: “from flask import request”. 

6. You will need to load the ip2geotools Python module to perform the GeoLocation (sudo python3 -m pip install ip2geotools). You will need to import the IpCity Package (from 

ip2geotools.databases.noncommercial import DbIpCity). See the ip2geotools for additional method and objects available. 

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Australia Assessments
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Political science
Great job God bless you
Customer 453983, February 4th, 2020
Nursing
Awesome! Thanks
Customer 454007, June 19th, 2020
Nursing
thks
Customer 453939, January 27th, 2020
Social Work and Human Services
All of the papers I have so far received have me extremely satisfied. The content that is asked for each task is written by the writers in great detail, and they perform a fantastic job of it. I'll keep using the service and tell other people about it. Again, many thanks.
Customer 463411, January 29th, 2023
English 101
Good job.
Customer 462899, April 26th, 2022
Psychology
Good job.
Customer 453707, May 8th, 2022
Marketing
Great quality work
Customer 462481, February 17th, 2022
Business Studies
Great work again!
Customer 454345, May 10th, 2020
Entertainment & Gaming
Commendable.
Customer 452441, April 4th, 2022
Military
Excellent job
Customer 456821, November 8th, 2022
Organization behavior
thank you
Customer 462271, November 30th, 2021
MGMT 221 Introduction to Management Information System
Great job!
Customer 457731, February 25th, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat