Is it possible for a webpage to excecute a windows CMD command on client side? I have searched web for this query but could not find any answers.
Asked
Active
Viewed 273 times
1
-
6No, of course not. Think of the security implications. – j08691 Aug 13 '21 at 15:48
-
No this would be a security disaster, if any website could run commands on a local machine. This is why ActiveX no longer exists. – ADyson Aug 13 '21 at 15:49
-
What can client-side Javascript do? https://stackoverflow.com/q/1404376/447901 – lit Aug 13 '21 at 17:40
1 Answers
2
Unfortunately this is not possible. This would give huge challenges on security. Think for example about malicious use of this function where can be taken control of the local machine from the outside.

Gerard de Visser
- 7,590
- 9
- 50
- 58