Question: Use python as programming language PYsbook Create a facebook like application which uses an encrypted file that contains all the users and their information(database) of

Use python as programming language

Use python as programming language PYsbook Create a facebook like application whichuses an encrypted file that contains all the users and their information(database)

PYsbook Create a facebook like application which uses an encrypted file that contains all the users and their information(database) of your application. When running the program, it loads/decrypts the content of your database file for login purposes. It repeatedly prints Menu Option 1 until exit. A User has the option to create an account or log in the application or exit. If the user chooses to create an account, he/she inputs the necessary information and the user input is automatically saved/appended in the file database. When saving the user information in the database, content must be encrypted. A User must log in before he/she can access the application menu options 2. Menu Options 1: Create Account Email addresses are unique, thus if the email address is already in the database, another user cannot use this email address for account creation. Notify the user if the account cannot be created when this issue arises. Log in A user can only login if the database is not empty, else notify user that database is empty and accounts need to be created Ask for the user's email address and password. If it matches, the user successfully logs in and Menu Options 2 is shown to the user. Else notify the user of password mismatch. Exit User Account information are as follows: Age Email Address(unique, serves as ID of user) Password Bio User can do the following if logged in successfully (Menu Options 2): Update password o Ask for the current password. If it matches, the user can change his/her password(don't forget to save in the file database the updated password), else notify the user of password mismatch. Update bio View own profile o Displays all information of current user (except for password) Add friend (friend to be added must be a valid user of the app or is in the database of the application) o Ask for the email address of the friend to be added, if it exists in the database, add in the friends list of the user else notify that user does not exist. o Adding of friends must be mutual, meaning if user added friend1, then user should also be added to the list of friends of friend1 (Unfriend) Delete a friend from the user friends list o Ask for the friend's email address, if it exists in the friends list of the user then delete the friend from the friends list of user, else notify the user that friend does not exist. o Deleting of friends must also be mutual, meaning if user deleted friend1, then user must also be deleted in friendl's friends list. View all friends o Simply print the names of user's friends View friend's profile o Ask for friend's email address Prints friend's information(except for password) if it exists in friends list, if not in the friends list, notify user. Delete all friends Ask for the user's password for confirmation before deleting all friends. If the password mismatch, the user cannot delete all friends. Logout 0 0 PYsbook Create a facebook like application which uses an encrypted file that contains all the users and their information(database) of your application. When running the program, it loads/decrypts the content of your database file for login purposes. It repeatedly prints Menu Option 1 until exit. A User has the option to create an account or log in the application or exit. If the user chooses to create an account, he/she inputs the necessary information and the user input is automatically saved/appended in the file database. When saving the user information in the database, content must be encrypted. A User must log in before he/she can access the application menu options 2. Menu Options 1: Create Account Email addresses are unique, thus if the email address is already in the database, another user cannot use this email address for account creation. Notify the user if the account cannot be created when this issue arises. Log in A user can only login if the database is not empty, else notify user that database is empty and accounts need to be created Ask for the user's email address and password. If it matches, the user successfully logs in and Menu Options 2 is shown to the user. Else notify the user of password mismatch. Exit User Account information are as follows: Age Email Address(unique, serves as ID of user) Password Bio User can do the following if logged in successfully (Menu Options 2): Update password o Ask for the current password. If it matches, the user can change his/her password(don't forget to save in the file database the updated password), else notify the user of password mismatch. Update bio View own profile o Displays all information of current user (except for password) Add friend (friend to be added must be a valid user of the app or is in the database of the application) o Ask for the email address of the friend to be added, if it exists in the database, add in the friends list of the user else notify that user does not exist. o Adding of friends must be mutual, meaning if user added friend1, then user should also be added to the list of friends of friend1 (Unfriend) Delete a friend from the user friends list o Ask for the friend's email address, if it exists in the friends list of the user then delete the friend from the friends list of user, else notify the user that friend does not exist. o Deleting of friends must also be mutual, meaning if user deleted friend1, then user must also be deleted in friendl's friends list. View all friends o Simply print the names of user's friends View friend's profile o Ask for friend's email address Prints friend's information(except for password) if it exists in friends list, if not in the friends list, notify user. Delete all friends Ask for the user's password for confirmation before deleting all friends. If the password mismatch, the user cannot delete all friends. Logout 0 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To implement this Facebooklike application in Python well need to handle the following key components user management encryption database interaction and menu handling Heres a stepbystep guide to crea... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!