I’m making a small webpage that is going to execute links, en specifics magnet links. But the webserveruserrole does not carry enough mojo (rights, Process.Start()) to make that happen.
I’ve tried to look for this user role but could not find it.
How do I make the webserver execute/start magnet:?xt links?
If starting a process from a webpage was possible, this would be a highway for viruses.
Of course, I assume you understand the http model. The webpage is actually executed on the server, all the code runs on the server. The client browser only display the html received from the one time http request/response.
You can however, as you guessed, create custom url Scheme (yourapp://yourquery). The client side has to register an application to handle such urls (that’s how the magnet links works).
More information on the msdn page: Registering an Application to a URL Protocol.
However, I emphasis what Microsoft says :
This can lead to serious problem if the application does not know how to handle malicious data.