User Tools

Site Tools


trigger:Public_Web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
trigger:Public_Web [2015/02/03 23:43]
peternlewis
trigger:Public_Web [2015/07/03 04:18]
peternlewis
Line 1: Line 1:
-If the Keyboard Maestro web server is enabled, then it will display any active macros with the Public Web trigger.  You can execute the macros by clicking on the corresponding entry in your web browser while connected to the Keyboard Maestro web server.+The *Public Web trigger* makes a trigger available without authentication via the Keyboard Maestro web server.
  
-Note that this means anyone with Internet access ​to your Mac (which ​is usually anyonealthough it does depend on firewalls ​and NAT settings) can potentially trigger this macro so it should generally only be safe macro (such as restarting a service that is always supposed to be runningor launching iTunes or some other fairly innocuous activity.+Keyboard_Maestro has an built-in web server. ​ You can enable it in the Keyboard Maestro Web Server preferences. ​ If enabled, and if you configure a username and password, you can connect ​to your Keyboard_Maestro’s web server and login and then execute any macro you have defined. ​ Also, if the web server ​is enabled, and if you have configured any macro with Public Web triggerthen anyone on the Internet can connect to your Mac and trigger Public_Web macros.
  
 +Note that this means anyone with Internet access to your Mac (which could be anyone, although it does depend on firewalls and NAT settings) can potentially trigger this macro so it should generally only be a safe macro such as restarting a service that is always supposed to be running, or launching iTunes or some other fairly innocuous activity.
 +
 +As with all triggers, macros are only available if they are currently active, that is if they are enabled and in a Macro Group that is enabled and active.
 +
 +For example, if you are running some sort of process on your Mac that occasionally fails, you could write a script to restart it and make it available as a Public_Web triggered Macro, which you (or anyone else) could then execute to restart the process.
 +
 +Clearly there are some serious security issues with this, so you should use a lot of caution when you allow any macro to be executed with a Public Web trigger.
  
trigger/Public_Web.txt · Last modified: 2018/07/16 22:49 by JMichaelTX