Question: Given the following code : name = input ( Please enter your last name: ) ID = input ( Please enter your student ID: )
Given the following code :
name = input (" Please enter your last name: ")
ID = input (" Please enter your student ID: ")
x = 1
while (x print (name[x]) x+=3 print (int(ID)*100) 1) What are the security vulnerabilities in the code based on different input values, and how to address them to make the code more secure? Please write the secure version of this code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
