# Security setting on a oneshot button

**URL:** <https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [December 20, 2023, 12:48pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364 "2023-12-20T12:48:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Johannsen](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Michael\_Johannsen](https://forum.inductiveautomation.com/u/Michael_Johannsen)\
**Post date:** [December 20, 2023, 12:48pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364/1 "2023-12-20T12:48:36Z")

</div>

I have an oneshot button with Security settings on it, tied to different roles, but it does not work.  
It works on a normal button.

Does anybody have the same problem?

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [December 20, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364/2 "2023-12-20T13:04:42Z")

</div>

What do you mean 'Security Settings on it', you mean the enabled property?

---

<div class="post-metadata">

**Author:** ![Michael\_Johannsen](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Michael\_Johannsen](https://forum.inductiveautomation.com/u/Michael_Johannsen)\
**Post date:** [December 20, 2023, 1:09pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364/3 "2023-12-20T13:09:02Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/a/eacf9cf7a8cb518b4e8c5d3fd0f00a8ddc8f6cb6.png)

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [December 20, 2023, 1:10pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364/4 "2023-12-20T13:10:38Z")

</div>

This will only block this specific script, but the button can still write the set value to the value if I remember right, so will still write to any bidirectional bindings on that.

You'll want a binding on the enabled property just to be safe, plus security on your tag is always a good idea

---

<div class="post-metadata">

**Author:** ![Michael\_Johannsen](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Michael\_Johannsen](https://forum.inductiveautomation.com/u/Michael_Johannsen)\
**Post date:** [December 20, 2023, 1:14pm UTC](https://forum.inductiveautomation.com/t/security-setting-on-a-oneshot-button/83364/5 "2023-12-20T13:14:59Z")

</div>

Tanks

I will find a way
