From Pengower
Jump to: navigation, search

Ensure that any data held in hidden INPUT fields on a HTML form, sensitive or not, is encrypted and decrypted using Do Encrypt String and Do Decrypt String accordingly. This prevents the user from seeing the data if they view the source of the page.

1 Set encryptedStartDateStr = Do Encrypt String Params String = sheetStartDateStr
2 Set h = "<input type='hidden' id='returnValue3' name='returnValue3' value='" + encryptedStartDateStr + "'>"
3 Do Write Params File = hFile, Content = h

1 Set currentDate = Do Request Field Params Name = "returnValue3"
2 Set tmpStr = Do Decrypt String Params String = currentDate
3 Set currentDate = "" + tmpStr

See Also

HTML Snippets

HTML Pages

HTML Encode

How to Create HTML Snippets

How to create a custom HTML Element

How to generate an html based day view of a calendar