rejetto forum

[Feature Request] Serverside Application Control

0 Members and 1 Guest are viewing this topic.

Offline Unknown

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
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.



Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 873
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
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
« Last Edit: April 05, 2015, 09:15:25 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
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





Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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>