rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Unknown on April 03, 2015, 11:14:43 AM
-
It would be cool to be able create application control links in HFS. User clicks this link is his browser and then HFS runs app/script/cmd/whatever on the machine it's installed at.
-
hein???
-
It's hard to understand what you're looking for, but if you call "application control links" to: "mailto://", "magnet:?xt=", etc., I don't see how this is related to HFS. Those links are used to call external applications (installed on your system, not on a server), and are called: "Custom URI" or "Protocol Handlers".
Registering a custom protocol handler, is more related to your browser or system (it's more a "client" thing), than to HFS (that's a "server"). Even if you add this feature to HFS, none of your visitors will have any benefit.
Why do you want that feature?...
What do you have in mind?...
http://en.wikipedia.org/wiki/URI_scheme
http://en.wikipedia.org/wiki/Magnet_URI_scheme
http://blogs.msdn.com/b/noahc/archive/2006/10/19/register-a-custom-url-protocol-handler.aspx
-
It is precisely to avoid this kind of risk that links to applications that run on the server are not allowed
http://www.kb.cert.org/vuls/id/251276
-
It would be cool to be able create application control links in HFS. User clicks this link is his browser and then HFS runs app/script/cmd/whatever on the machine it's installed at.
it IS possible.
It's not a feature HFS offers, anyway.
Create a new folder (yellow)
right click, properties, diff template
enter this text
{.exec|{.?cmd.}.}
<li><a href='?cmd=notepad'>notepad</a>
<li><a href='?cmd=write'>write</a>