# Deploying a manipulate and assigning a password

**URL:** <https://community.wolfram.com/t/deploying-a-manipulate-and-assigning-a-password/15364>\
**Category:** Questions\
**Tags:** interface-construction, ui-ux-and-ide, wolfram-cloud\
**Created:** [February 10, 2020, 1:44am UTC](https://community.wolfram.com/t/deploying-a-manipulate-and-assigning-a-password/15364 "2020-02-10T01:44:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobmchugh2000](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@bobmchugh2000](https://community.wolfram.com/u/bobmchugh2000)\
**Post date:** [February 10, 2020, 1:44am UTC](https://community.wolfram.com/t/deploying-a-manipulate-and-assigning-a-password/15364/1 "2020-02-10T01:44:49Z")

</div>

Would like to use a version of the example below to work with Manipulate.

Here is the example from the [Permissions Help page](https://reference.wolfram.com/language/ref/Permissions.html):

```
obj03 = CloudDeploy[
  FormPage[{"text", "Text:"} -> "String", Classify["Spam", #text] &, 
   AppearanceRules -> "Title" -> "Spam Detector"], 
  Permissions -> {PermissionsKey["secret"] -> {"Execute"}}]

```

The example defines a password, secret, which must be entered to access the page.  
This works as expected.

Extending this to an example using Manipulate.

```
m02 = Manipulate[Plot[Sin[n x], {x, 0, 6 \[Pi]}]
  , {{n, 0.5}, 0.5, 10}]
obj02 = CloudDeploy[m02, 
  Permissions -> {PermissionsKey["secret"] -> { "Execute"}}]

```

Does not behave the same way. Typing in the password, does not show the Manipulate.

Apparently something different must be done for Manipulate. Please help. Thanks.

 ![CloudPassword.png](https://global.discourse-cdn.com/wolfram/original/3X/e/f/efd4c4f5e839daea338fd4caf1c0800c4ca42348.png)

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [February 10, 2020, 4:56am UTC](https://community.wolfram.com/t/deploying-a-manipulate-and-assigning-a-password/15364/2 "2020-02-10T04:56:40Z")

</div>

Hi Robert,

Try

```
Permissions -> PermissionsKey["secret"] -> All

```

---

<div class="post-metadata">

**Author:** ![bobmchugh2000](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@bobmchugh2000](https://community.wolfram.com/u/bobmchugh2000)\
**Post date:** [February 10, 2020, 2:18pm UTC](https://community.wolfram.com/t/deploying-a-manipulate-and-assigning-a-password/15364/3 "2020-02-10T14:18:36Z")

</div>

Thanks! that helps. Wonder what are the minimum set of permissions to allow others to only run the Manipulate. Below are the results of my tests.

First, I checked the Permissions when using “-\>All” with the test:

```
Options[cd01, Permissions]

```

I saw the following

```
{Permissions -> {"Owner" -> {"Read", "Write", "Execute"}, 
   PermissionsKey["secret"] -> {"Read", "Write", "Execute", 
     "CellCreate", "CellDelete", "CellEdit", "EditRestricted", 
     "Evaluate", "IncrementalEvaluate", "Interact", "Save"}}}

```

Then, I tried a few tests to find what is required only to have the Manipulate run. This is what I came up with:

```
permListTest01 = {"Read", "Execute", "EditRestricted", "Evaluate", 
   "IncrementalEvaluate", "Interact"};

```

Are each of these required to allow others to operate a Manipulate on the Cloud? Is something missing?

Thanks for your help with this.
