0

I am developing an Online Exam rails app. In the Examination interface, I want to prevent the copy(ctrl+c), paste(ctrl+v), right click and selection functionalities. How I would be able to prevent it using javascript? Please help me to have a better solution for this.

Thanks :)-

Johan
  • 74,508
  • 24
  • 191
  • 319
Rajesh Omanakuttan
  • 6,788
  • 7
  • 47
  • 85

1 Answers1

0

This depends on the client's browser, so you'll need to add the appropriate JScript to your page. Note that this only works if Javascript is enabled on their browser (it generally will be).