Compose a research report that explains how to Show that you understand how to utilise user IDs and passwords to verify users’ identities and grant them permission to carry out certain operations within the programme.

Words: 873
Pages: 4
Subject: Do My assignment

Compose a research report that explains how to Show that you understand how to utilise user IDs and passwords to verify users’ identities and grant them permission to carry out certain operations within the programme.The purpose of this assignment is to
Demonstrate knowledge of defining a class and creating an object from that class.
Demonstrate knowledge of using IDs and passwords to authenticate users and authorize the tasks they are allowed to perform in the application.
Scenario
The company approves of the new functionality, but it wants a layer of security to ensure only those users with a need for access will be allowed to run the application. Users will have a user ID and password for logging in, which will be maintained in a file. Additionally, there will be two types of authorization. Users that have an admin authorization can enter data and display it. Users that have a user authorization can only display the data.

You will create a new application for entry and display of user information.

Note: All the coding will be maintained from your Course Project Phase 3 assignment and modified as needed to meet the new requirements.

Create and call a function to:
Open a text file for storing the user information. The file must be opened so that entered data is added to the data already in the file.
Use a loop to read the current records from the text file and save the user ID into a list object for validation purposes.
Create and call a function to use a loop that will obtain user input until terminated by the user typing “End.”
Allow the user to input a user ID, password, and authorization code. Validate that the user ID does not already exist in the list object and that only “Admin” or “User” is entered as an authorization code.
Write the user ID, password, and validation code as a pipe-delimited list to the text file and add the user ID to the list object if all validations have passed.
After the user terminates the data entry loop, create and call a new function that will:
Open the text file that contains the user login information.
Display the user ID, password, and authorization code for all users.
Ensure all functionality is working correctly and code is written efficiently. For purposes of this assignment, writing code efficiently is defined as:
Using correct naming conventions for all variables and objects.
Using correct naming conventions for functions and methods.
Using built-in functions whenever possible.
Using the fewest lines of code needed to return multiple values from functions.
Using the fewest lines of code needed to complete the functionality defined.
Part 2 – Updating the Existing Application
Define a class named Login. The class should have three properties:
User ID.
Password.
Authorization.
Create and call a function for login process:
Open the text file with the user login information.
Read each record from the file and store the user ID, password, and authorization code in a list object. Note: Multiple list objects may be needed for this functionality.
Enter a user ID.
Enter a password.
Validate the user ID by reading the list object. If the user does not exist, display an appropriate message and exit the application.
If the user ID is valid, verify that the password matches. If the password does not match, display an appropriate message and exit the application.
If the user ID is valid and password matches:
Create an object from the class Login.
Store the user ID, password, and authentication code in the properties
Modify code for authorization functionality:
If the authorization code stored in the object is “Admin,” allow the user to enter and display data.


If the authorization code stored in the object is “User,” allow the user to display data only.
Modify the display of the data and totals to first display the user ID, password and authorization code using the properties in the object.
Submit the Python source code files and a Word document that contains a screenshot of input and display for user login information; a screenshot of data entry and the display of detail and totals when the authorization code is “Admin”; a screenshot of display of detail and totals only when the authorization code is “User.” Include a 1–2 sentence reflection on the successes and challenges you had with this assignment.
Ensure all functionality is working correctly and code is written efficiently. For purposes of this assignment, writing code efficiently is defined as:
Using correct naming conventions for all variables and objects.
Using correct naming conventions for functions and methods.
Using built-in functions whenever possible.
Using the fewest lines of code needed to return multiple values from functions.
Using the fewest lines of code needed to complete the functionality defined.

Let Us write for you! We offer custom paper writing services Order Now.

REVIEWS


Criminology Order #: 564575

“ This is exactly what I needed . Thank you so much.”

Joanna David.


Communications and Media Order #: 564566
"Great job, completed quicker than expected. Thank you very much!"

Peggy Smith.

Art Order #: 563708
Thanks a million to the great team.

Harrison James.


"Very efficient definitely recommend this site for help getting your assignments to help"

Hannah Seven