Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Purpose

Demo mode is designed to hide sensitive information (e.g. student names and IDs). It is useful when Rogo could be demonstrated to a broad audience who you do not want to share the sensitive information with, for example, a demonstration at a conference.

Coding Support

Any page you wish to obscure sensitive information should include /include/demo_replace.inc. It has a number of useful functions:

 id_demo True = system is in demo mode, False = it is in normal mode. 
 demo_replace Takes a string (e.g. a name) and returns an obscured version. For example, 'Simon' becomes 'Abcde' 
 demo_replace_number Takes a number (e.g. student ID) and returns an obscured version. For example, '40010' becomes '12345678'. 
 demo_replace_username Takes a username and returns # characters. 
 demo_replace_name Takes a name and returns some famous IT names instead. 

Principles

Sensitive information should normally be considered to be personally identifiable fields such as first names, family name, student ID, etc. Data such as marks is only sensitive when it is associated with a real user. For example, If Joe Bloggs gets 80% that is sensitive. But if Abc Abcdef gets 80% then Joe's identity is protected. This is much more effective than changing the marks because if you saw Joe Bloggs got 75% it is not the true 80% but a conference could mistakenly think Joe did actually score 75%.

  • No labels