rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Unknown on April 03, 2015, 11:14:43 AM

Title: [Feature Request] Serverside Application Control
Post 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.
Title: Re: [Feature Request] Serverside Application Control
Post by: Mars on April 04, 2015, 11:39:02 PM
hein???
Title: Re: [Feature Request] Serverside Application Control
Post by: LeoNeeson on April 05, 2015, 09:13:28 AM
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?...

Code: [Select]
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
Title: Re: [Feature Request] Serverside Application Control
Post by: Mars on April 05, 2015, 09:22:32 PM
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



Title: Re: [Feature Request] Serverside Application Control
Post by: rejetto on April 08, 2015, 08:40:36 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.

it IS possible.
It's not a feature HFS offers, anyway.
Create a new folder (yellow)
right click, properties, diff template
enter this text
Code: [Select]
{.exec|{.?cmd.}.}
<li><a href='?cmd=notepad'>notepad</a>
<li><a href='?cmd=write'>write</a>