Question: TODO 2 : write a prepared statement for this query with parameters for the two strings passed in . Comment out the query that used
TODO: write a prepared statement for this query with parameters for the two
strings passed in Comment out the query that used simple concatenation. Then, in
TODO write the execution statement to execute the prepared statement, commenting
out the existing statement we recommend commenting out instead of deleting
After saving and launching the app, try option with the SQL injection attack and see if
it successfully protected the data from retrieval.
Query: TODO: write a prepared statement for this query with parameters for the two
strings passed in Comment out the query that used simple concatenation. Then, in
TODO write the execution statement to execute the prepared statement, commenting
out the existing statement we recommend commenting out instead of deleting
Check that the patient table currently exists in the testsqlinj database and reestablish
it if necessary.
After saving and launching the app, try option with the SQL injection attack and see if
it successfully protected the patient table from deletion in the database.
Submit your DBConnector.py file to gradescope when you have verified that your
prepared statements are working.TODO: write a prepared statement for this query with parameters for the two
strings passed in Comment out the query that used simple concatenation. Then, in
TODO write the execution statement to execute the prepared statement, commenting
out the existing statement we recommend commenting out instead of deleting
After saving and launching the app, try option with the SQL injection attack and see if
it successfully protected the data from retrieval.
Query: TODO: write a prepared statement for this query with parameters for the two
strings passed in Comment out the query that used simple concatenation. Then, in
TODO write the execution statement to execute the prepared statement, commenting
out the existing statement we recommend commenting out instead of deleting
Check that the patient table currently exists in the testsqlinj database and reestablish
it if necessary.
After saving and launching the app, try option with the SQL injection attack and see if
it successfully protected the patient table from deletion in the database.
Submit your DBConnector.py file to gradescope when you have verified that your
prepared statements are working.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
