Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Given the HTML code (A) and (B) below answers the following questions: (A) <form

ID: 3771831 • Letter: G

Question

Given the HTML code (A) and (B) below answers the following questions:

(A) <form name=’login’ method=’GET’ action=’checklogin.php’>

UserName: <input name=’uname’ type=’txt’></input> Password: <input name=’password’ type=’text></input> </form>

(B) <form name=’login’ method=’POST’ action=’checklogin.php’> UserName: <input name=’uname’ type=’txt’></input> Password: <input name=’password’ type=’password’></input> </form>

1.1. Select which is more secure and explain your rational. 1.2. Provide HTML code of the same form but more secure.

subjact

Ecommerce Security

Explanation / Answer

the secound one is more secure as it has post aaction that doesnot send data to url and no ther user will be able ot see what has been send to form action .

<form name=’login’ method=’POST’ action=’checklogin.php’>

UserName: <input name=’uname’ type=’txt’></input>

Password: <input name=’password’ type=’password’></input>

Submit : <input name=’button’ type=’submit’></input> </form>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote