# Step 5: Lock it down for external users

> For the complete documentation index, see [llms.txt](https://developers.thoughtspot.com/docs/llms.txt)

Source: https://developers.thoughtspot.com/docs/tutorials/spottercode-embed/step-05

# Step 5: Lock it down for external users

Hosts aren’t internal ThoughtSpot users. You don’t want them downloading raw data or seeing ThoughtSpot-native sharing options that don’t make sense in the SpotStay portal.

```text
How do I hide the Download and Share actions on an embedded Liveboard,
and disable SpotIQ analysis with a custom message, using the Visual Embed SDK?
```

SpotterCode returns:

```javascript
import { Action } from '@thoughtspot/visual-embed-sdk';

<LiveboardEmbed
  ref={embedRef}
  liveboardId="YOUR_LIVEBOARD_GUID"
  onLiveboardRendered={onLiveboardRendered}
  hiddenActions={[Action.Download, Action.Share]}
  disabledActions={[Action.SpotIQAnalyze]}
  disabledActionReason="Not available on host accounts"
/>
```

[← Previous]({{navprefix}}/tutorials/spottercode-embed/step-04) [Next →]({{navprefix}}/tutorials/spottercode-embed/step-06)