How do you prevent access to the 'calculator' interface on a particular OS [closed]
This question does not appear to be about a specific prog开发者_运维百科ramming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this questionHow do you prevent access to the 'calculator' interface on a particular OS (say Windows). We would want to avoid usage of calculators while taking an online quiz at the site. Is this even possible?
If you're talking about through a purely web interface, then no. In order to do this, you would have to be able to monitor running processes, which is something a web app can't do. It would be too big a security risk.
If you control the machines (they're on your network, in a classroom where you can load and restrict the software, etc), you could write a program to monitor and shut down the processes. For example, a .NET application could use the System.Diagnostocs.Process object to monitor for instances of calc.exe.
A standard executable could do it, but not a web app.
Edit Added
There may be other alternatives if you control the PCs in question. Most corporate IT shops use some sort of monitoring software that will detect the use of "Unauthorized" programs. (I got busted for launching Solitaire once.) That would be more of a question for ServerFault.com, however.
Do you think it would be a good idea if websites were able to stop executable running on remote computers? Think about this seriously for a second, the security/privacy implications this would have.
精彩评论