User Tools

Site Tools


trigger:Public_Web

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
trigger:Public_Web [2015/02/03 23:35]
peternlewis created
trigger:Public_Web [2017/09/04 21:35]
peternlewis
Line 1: Line 1:
-Keyboard Maestro ​will display ​global floating palette that includes ​any active macros ​with the Macro Palette ​trigger. ​ ​You ​can execute the macros ​by clicking ​on the corresponding entry in the global ​macro palette.+The *Public Web trigger* makes a trigger available without authentication via the Keyboard Maestro ​web server. 
 + 
 +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 ​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 a Public Web trigger, then 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. 
 + 
 +===== See Also ===== 
 + 
 +=== Triggers === 
 + 
 +* [[Remote|Remote]] trigger 
 +* [[/​Triggers|All Triggers]] 
trigger/Public_Web.txt · Last modified: 2018/07/16 22:49 by JMichaelTX