# Protection for scripts

**URL:** https://forum.universal-robots.com/t/protection-for-scripts/36139
**Category:** Technical Questions
**Created:** [September 20, 2024, 9:36am UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139 "2024-09-20T09:36:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![steven.sonne](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@steven.sonne](https://forum.universal-robots.com/u/steven.sonne)
#### Post date: [September 20, 2024, 9:36am UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139/1 "2024-09-20T09:36:59Z")

</div>

Hi,

is it possible to make any protection for my scripts?  
So anybody who want to change some scripts must enter any password or something like that.

---

<div class="post-metadata">

### Author: ![WattsUp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/wattsup/32/5732_2.png) [@WattsUp](https://forum.universal-robots.com/u/WattsUp)
#### Post date: [September 20, 2024, 2:35pm UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139/2 "2024-09-20T14:35:04Z")

</div>

Do you want to protect the robot jobs in total or just some particular script?  
If you setup the system password, then put the robot in Automatic control, it will require the password to get back to editing mode.

---

<div class="post-metadata">

### Author: ![steven.sonne](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@steven.sonne](https://forum.universal-robots.com/u/steven.sonne)
#### Post date: [September 23, 2024, 5:15am UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139/3 "2024-09-23T05:15:06Z")

</div>

The I know the password for the manual-mode.

But I need any protection just for some particular scripts.  
So that no maintenance person can change anything in this script because he suspects an error in a function that cannot be found there and the program then no longer works.

---

<div class="post-metadata">

### Author: ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)
#### Post date: [September 25, 2024, 6:27am UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139/4 "2024-09-25T06:27:57Z")

</div>

Hi @steven.sonne,

If you have the admin password you can go into the terminal and use the command _chmod_ [Changing File Permissions](https://education.launchcode.org/linux/file-permissions/walkthrough/chmod/index.html) on the file you would like to protect.  
So something in this direction:

```console
~$ chmod 444 your-file

```

Ebbe

---

<div class="post-metadata">

### Author: ![steven.sonne](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@steven.sonne](https://forum.universal-robots.com/u/steven.sonne)
#### Post date: [October 8, 2024, 11:48am UTC](https://forum.universal-robots.com/t/protection-for-scripts/36139/5 "2024-10-08T11:48:13Z")

</div>

Thanks for this information 🙂
