I am working on a web application which will allow users to take exam online. When the user clicks on take test I need to block the calculator app. Is there a way to do that?
I am using asp.net,c#,visual st开发者_如何学运维udio 2008
Absolutely not. Your code is executing on your server, and the calculator is running on their PC. You can send JavaScript, Flash, Silverlight, etc. that is executed, but they run in a sandbox - can't affect anything outside the browser runtime. You wouldn't like it very much if websites could manipulate your PC would you?
This is not possible unless you force the user to install custom software on their computer. And if we go into that, this has nothing to do with the web anymore.
And to be honest, if you don't have any control over the environment the user is in... what's preventing them from opening whatever software you're trying to block on a laptop sitting next to the computer running the exam?
if you are in a Web application, you cant control your client machine
. Only you can control your browser by using javascript or silverlight etc.
You have to install some extra windows application to protect that
精彩评论