Web Security
Use of PID, PIN, UserID, and Password
Surveys may be designed with a level of security that ranges on a continuum from non-existant to high.
- Anonymous Survey One that requires no authorization for participation in the survey. These tyes of surveys include customer satisfaction, employee attitude/opinion, and training needs.
- Passcode Required A single passcode is all that is required to access the survey questionnaire. This type of survey is anonymous, unless the participant is prompted to enter information about their identity. Often a passcode is used for surveys that are publibly accessible but that the survey administrator only wishes a select group of participants to respond to the survey. The survey administrator would share the passcode with the participants.
- User Authentication The user is required to enter both a user ID and a password. These are verified against values stored in a database. These surveys may require extremely high levels of security due to the confidential nature of the data being collected. The types of surveys include 360 Feedback and Performance Appraisals.
Blocking View Source
To stop soneone from viewing the source code of your HTML questionnaire, insert the following Javascript code. This will disable a right-click on the page that contains the function.
[script language="javascript">]
function noRightClick() {
if (event.button==2) { alert("Right click has been disabled") }
}
document.onmousedown=noRightClick
// End of script
Or,
[script LANGUAGE="JavaScript"]
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
alert("Right click has been disabled")
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert("Right click has been disabled")
return false
}
return true
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End of script