$AllowExternalChannelFunctions

$AllowExternalChannelFunctions

specifies whether to allow interaction with channels that contain functions that might be executed in your session in response to events on the channel.

Details

  • By default, $AllowExternalChannelFunctions is False and has attribute Protected.
  • Using $AllowExternalChannelFunctions=True can create a significant security risk, because it allows code specified by the creator of a channel to automatically be executed whenever you listen or send to that channel.
  • $AllowExternalChannelFunctions can also be reset from the Security tab in the Preferences dialog in the notebook interface.

Examples

Basic Examples  (1)

Try to send a message on another user's channel with the default security settings in place:

Enable communication on other users' channels:

Now it is possible to send messages to another user's channel:

Restore security settings:

Wolfram Research (2016), $AllowExternalChannelFunctions, Wolfram Language function, https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html (updated 2020).

Text

Wolfram Research (2016), $AllowExternalChannelFunctions, Wolfram Language function, https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html (updated 2020).

CMS

Wolfram Language. 2016. "$AllowExternalChannelFunctions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html.

APA

Wolfram Language. (2016). $AllowExternalChannelFunctions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html

BibTeX

@misc{reference.wolfram_2021_$allowexternalchannelfunctions, author="Wolfram Research", title="{$AllowExternalChannelFunctions}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html}", note=[Accessed: 09-December-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_$allowexternalchannelfunctions, organization={Wolfram Research}, title={$AllowExternalChannelFunctions}, year={2020}, url={https://reference.wolfram.com/language/ref/$AllowExternalChannelFunctions.html}, note=[Accessed: 09-December-2021 ]}