# How to disable right click,mouse selection, Ctrl + C and Ctrl + U for all users except Admin?

**URL:** https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642
**Category:** Support
**Created:** [December 6, 2018, 5:52pm UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642 "2018-12-06T17:52:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Viki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viki/32/131139_2.png) [@Viki](https://meta.discourse.org/u/Viki)
#### Post date: [December 6, 2018, 5:52pm UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642/1 "2018-12-06T17:52:48Z")

</div>

Hello!  
I am configuring Discourse for online novel writers group, they are asking me to prevent users to copy the contents using **Right mouse click** , **Ctrl + C** or Viewing page source by **Ctrl + U**. I already searched google and github but, I could not find any correct solution. Can anyone help me?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 6, 2018, 5:56pm UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642/2 "2018-12-06T17:56:34Z")

</div>

I don’t see this as being feasible. You may be able to prevent right click via some custom JS, but blocking copying would likely require blocking text selection, and Viewing page source is a browser function, no way to block it that I’m aware of. Even if you blocked right click and Ctrl + U, nothing stops a user from typing `view-source:https://meta.discourse.org` into their address bar.

---

<div class="post-metadata">

### Author: ![Viki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viki/32/131139_2.png) [@Viki](https://meta.discourse.org/u/Viki)
#### Post date: [December 6, 2018, 6:06pm UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642/3 "2018-12-06T18:06:30Z")

</div>

Thank you for your quick response. I know that we can’t prevent copying but Majority of the people here are not techie. Some people copying entire Novels and circulate it as PDFs so, authors demanding this feature.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 7, 2018, 12:27am UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642/4 "2018-12-07T00:27:14Z")

</div>

There are other topics on this, with solutions in them. Try searching

[https://meta.discourse.org/search?q=disable%20right%20click](https://meta.discourse.org/search?q=disable%20right%20click)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 7, 2018, 12:27am UTC](https://meta.discourse.org/t/how-to-disable-right-click-mouse-selection-ctrl-c-and-ctrl-u-for-all-users-except-admin/103642/5 "2018-12-07T00:27:18Z")

</div>


