# Disabling E2E encryption button for users

**URL:** <https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718>\
**Category:** Community Support\
**Created:** [July 23, 2021, 7:57am UTC](https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718 "2021-07-23T07:57:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![breakneck](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@breakneck](https://forums.rocket.chat/u/breakneck)\
**Post date:** [July 23, 2021, 7:57am UTC](https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718/1 "2021-07-23T07:57:19Z")

</div>

I need to disable the possibility for users to turn off the E2E encryption. At the moment they can turn off E2E encryption in direct chats by pressing the key icon in chat header.

 ![Снимок экрана 2021-07-22 в 11.22.17](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/2/2828e4234c4b2aa2d95ca28dfbc2c4693baba562.png)

Seems like there aren’t any settings in admin panel which can handle this.  
Maybe someone has an experience to block this in some other way?  
I’ve already created an issue, but was advised to ask here.

---

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [July 23, 2021, 4:11pm UTC](https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718/2 "2021-07-23T16:11:33Z")

</div>

Linked issue here:

> <https://github.com/RocketChat/Rocket.Chat/issues/22731>
>
> Is there any possibility to disable the E2E encryption button for users (a "key"… near the chat room name) because sometimes users click on it accidentally or on purpose and then forget to turn it back on? It is important for us that all chats stay encrypted. I couldn't find any settings regarding this.
> If there's no such functionality at the moment, can it be added in future? Or maybe this issue can be managed in some other way?

As was pointed out it isn’t really a bug per se - it’s really a feature request.

You could hide the button with a bit of custom CSS I guess.

---

<div class="post-metadata">

**Author:** ![breakneck](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@breakneck](https://forums.rocket.chat/u/breakneck)\
**Post date:** [July 27, 2021, 6:17am UTC](https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718/3 "2021-07-27T06:17:00Z")

</div>

This is for the web version, as I presume? And it won’t work for desktop/mobile apps?

---

<div class="post-metadata">

**Author:** ![debdut.chakraborty](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/debdut.chakraborty/32/2900_2.png) [@debdut.chakraborty](https://forums.rocket.chat/u/debdut.chakraborty)\
**Post date:** [July 27, 2021, 8:17am UTC](https://forums.rocket.chat/t/disabling-e2e-encryption-button-for-users/11718/4 "2021-07-27T08:17:19Z")

</div>

> [@breakneck](#):
>
> And it won’t work for desktop/mobile apps?

No it won’t.

I’ve moved your issue in GitHub to our feature-requests repository where it’ll be looked at in due course. I recommend you move the conversation forward there. If you want to add anything that can help us push it forward, please add it there.

Thank you !! 😄
