How to run a executable file from a web page?

前端 未结 8 2140
暗喜
暗喜 2021-01-03 14:47

What I mean is, when user click a button on a webpage, a program which has already installed on his computer would be executed. I also need to pass some command line para

8条回答
  •  爱一瞬间的悲伤
    2021-01-03 15:17

    This is not possible. If it was, it would be a huge security breach.

    Imagine being able to let the user click a button on the webpage and as a result format his harddrive with the standard format command? I bet you wouldn't want that happening to yourself.

    Maybe you can think about exposing a webservice from your webapplication and let the desktopclient look at that webservice?

提交回复
热议问题