Hidden Fields Demo

by Wentz Wu

HTML

<h1>新增客戶資料</h1>
<form action="/customer" method="post">
  <label for="fullName">姓名:</label>
  <input id="fullName" name="fullName">
  <br>
  <label for="mobilePhone">手機:</label>
  <input id="mobilePhone" name="mobilePhone">

  <pre>下面有一個隱藏欄位,用來儲在驗證碼: 2%P3a$!Tz@</pre>
  <input type="hidden" id="authCode" name="authCode" value="2%P3a$!Tz@">

  <button>送出</button>
</form>
<hr>
<pre>
本網頁說明以下題目的概念:
Web application developers sometimes use hidden fields on web pages to save information about a client session. This technique is used, in some cases, to store session variables that enable persistence across web pages, such as maintaining the contents of a shopping cart on a retail web site application. The MOST likely web-based attack due to this practice is:
A.parameter tampering. 
B.cross-site scripting. 
C.cookie poisoning. 
D.stealth commanding.

https://quizlet.com/251890666/questions-missed-last-time-1292015-flash-cards/
</pre>