Lectora security tips and cheating prevention

Hello everyone,

this is a great and helpful community, so I hope someone knows the asnwer. I need to prevent users from accessing course pages directly.


See, I have an HTML branching course where the user has to make a few decisions in order to arrive at outcome A, B, or C, at which point Lectora submits a variable to my database so I know how the user performed. The problem is, if the user can access any page in the middle of the course, they have an opportunity to cheat.


What I did is to put the whole course inside an iframe tag, so that users have to launch start.html which contains < iframe scr=index.html >. In this way, separate course pages won't show up in history and the back button leads to previous website, not previous course page.


Do you know any other ways to secure a Lectora course against disassembly?


I am thinking of maybe generating a random variable at the first page, and checking it on top of every other page. If it isn't empty, it means the user did access the front page first. Am I right?


I also think that I can submit this random variable along with the outcome variable so I can see in my database if the user managed to access several outcomes within same session. Would this work?


I appreciate any tips, thank you!

Discussions have been disabled for this post