PROG8290 – Assignment 4

.docx

School

Conestoga College *

*We aren’t endorsed by this school

Course

8290

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

5

Uploaded by ElderMoose3863

Report
<Document > 1 INFO8290 INFO8290_ASSIGNMENT 4_Software Application Security 2 Parth Rohitkumar Dalwadi 8892726 PROG8290-23S-Sec2 Vikas Patel
PROG8270 – ASSIGNMENT 4_Software Application Security 2 Table of Contents INFO8290_ASSIGNMENT 1_Software Application Security 2 .................................................................... 1
PROG8270 – ASSIGNMENT 4_Software Application Security 2 Question 1 and question 2 Explain (using words) all the changes you made to improve the code. Before changing the code, take a full-screen screenshot with the code you are going to improve selected/highlighted. You need only provide one example per change. For example, if you changed all the variable names to follow a certain format, you can provide one example of a variable before and after the change. For each change, explain the benefit to making the change. Fix the entire source code as you see fit. There are situations in the code as given that would provide opportunities for security issues to arise. Identify and fix these issues. 1. Reads the password directly via Console.ReadLine(). 2.Constructs a SQL query string concatenating the username and password variables. The database query execution and result handling are currently commented out.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help