Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Dear All,

I have created an online test web application in ASP.NET C#. Now, the requirement is to block/unblock some windows applications while doing an online test.

C# is a server-side code. So, how can I block/unblock client's machine windows applications during the online test?

What I have tried:

Could any please help me.

Thanks
Posted
Updated 11-May-20 22:57pm
Comments
F-ES Sitecore 12-May-20 6:48am    
If a website could stop apps from working then malicious ones would stop your anti-virus from working.

1 solution

You could do it like explained here: How to Block Applications in Windows 10 - Make Tech Easier[^]
However to do this you would need access to the registry.

Another option would be to use Windows AppLocker application control policies, see: AppLocker (Windows 10) - Windows security | Microsoft Docs[^]
AppLocker is included in enterprise-level editions of Windows.
 
Share this answer
 
Comments
CPallini 12-May-20 5:14am    
5.
abdul subhan mohammed 12-May-20 6:00am    
How can I achieve this from Web Application(ASP.NET C#)?
RickZeeland 12-May-20 7:05am    
You can't, browsers don't allow these kind of operations, so you need to install an application on the client with admin rights that can modify the registry.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900