# How to share app and keep code hidden?

**URL:** <https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860>\
**Category:** Website and Tools Questions\
**Created:** [December 8, 2020, 11:20pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860 "2020-12-08T23:20:33Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktpanderson](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@ktpanderson](https://forum.code.org/u/ktpanderson)\
**Post date:** [December 8, 2020, 11:20pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/1 "2020-12-08T23:20:33Z")

</div>

I want to essentially make my own “make” lesson for my students in applab. So I need them to play around with the fully functioning app and them code it. Usually when I use the share link the students can remix it and se the code. I want the code to remain hidden. Can I do this?

---

<div class="post-metadata">

**Author:** ![terence.stone25](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/terence.stone25/32/5124_2.png) [@terence.stone25](https://forum.code.org/u/terence.stone25)\
**Post date:** [December 9, 2020, 4:16pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/2 "2020-12-09T16:16:24Z")

</div>

@ktpanderson This is a good question. I don’t think we have the ability to disable the remix feature. Look for an update shortly.

---

<div class="post-metadata">

**Author:** ![jdonwells](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jdonwells/32/7900_2.png) [@jdonwells](https://forum.code.org/u/jdonwells)\
**Post date:** [December 9, 2020, 5:31pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/3 "2020-12-09T17:31:51Z")

</div>

There are utilities that will obfuscate the code you wrote. Looking at it will not give them an idea of how it works. It would be obvious if it were cut and pasted. I recommend instead creating exemplar code that you want them to study.

---

<div class="post-metadata">

**Author:** ![madeline\_r\_burton](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/madeline_r_burton/32/5037_2.png) [@madeline\_r\_burton](https://forum.code.org/u/madeline_r_burton)\
**Post date:** [December 10, 2020, 3:28am UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/4 "2020-12-10T03:28:50Z")

</div>

I agree with @jdonwells. While it is possible to obfuscate your code, it is probably better to accept that they can see the code and use it as a teaching tool.

Otherwise I think I would do some sort of class demo where I project/share my screen with the program running and act as the ‘driver’ while students explore how it works. I might also make a quick video of all the features such that while students are working on the project they can refer back to the video to make sure they’re building the appropriate UI.

---

<div class="post-metadata">

**Author:** ![ktpanderson](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@ktpanderson](https://forum.code.org/u/ktpanderson)\
**Post date:** [December 10, 2020, 3:10pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/5 "2020-12-10T15:10:49Z")

</div>

Here’s what I came up with:

I used the embed feature for sharing so I could hide code, and I embedded the app in my LMS. Then I sent the kids a link with empty code but design mode all configured. It’s a pretty good work around for now. The app has a noticeable delay when it’s embedded, but they can deal.

---

<div class="post-metadata">

**Author:** ![jhall9](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jhall9](https://forum.code.org/u/jhall9)\
**Post date:** [December 10, 2020, 9:30pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/6 "2020-12-10T21:30:15Z")

</div>

Oh! I want this feature too! I love when the lessons show an example for the students to play around with the functionality but does not give access to the code. Sometimes the coding is too simple - or not varied enough to feel comfortable giving them access to an example exemplar.

---

<div class="post-metadata">

**Author:** ![frank\_w\_lee](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/frank_w_lee/32/4895_2.png) [@frank\_w\_lee](https://forum.code.org/u/frank_w_lee)\
**Post date:** [December 13, 2020, 8:09am UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/7 "2020-12-13T08:09:32Z")

</div>

Lots of great ideas before me. 🙂

A kinda-alternative is to record video of you playing around with the app.

Yeah, kinda removes the whole students-play-with-the-app part, but hopefully at least demonstrates what the app is supposed to do 😕

---

<div class="post-metadata">

**Author:** ![skenner](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@skenner](https://forum.code.org/u/skenner)\
**Post date:** [January 13, 2021, 11:22pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/8 "2021-01-13T23:22:18Z")

</div>

This week we will begin my usual ‘Number Guessing Game’ project. This year I produced the demo version in app lab since I’m using [code.org](http://code.org). After we play some unplugged variants, I’ll demo the app for them, then they will draw a flow chart and develop the algorithm in pseudocode before writing their own in app lab. But, it would be cool if I could send them a link to the demo app with no code, as requested above. Because in that way, they could still refer to the app after class when they get stuck or are vague on some requirement. All that is to say here! here! I second the request 🙂

---

<div class="post-metadata">

**Author:** ![ktpanderson](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@ktpanderson](https://forum.code.org/u/ktpanderson)\
**Post date:** [January 14, 2021, 12:51am UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/9 "2021-01-14T00:51:20Z")

</div>

The best way I found to do this was to use the embed feature via the share link and clicked to hide the code. Then I embedded the app in my LMS for students to test. Then I shared an applab project with only the design mode done and showed them the remix feature. worked fine, although much harder for me to check their code.

---

<div class="post-metadata">

**Author:** ![jacksolz2](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jacksolz2/32/6758_2.png) [@jacksolz2](https://forum.code.org/u/jacksolz2)\
**Post date:** [May 19, 2021, 1:39am UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/10 "2021-05-19T01:39:43Z")

</div>

Absolutely simple! Thank you for the tip!

---

<div class="post-metadata">

**Author:** ![matthew.parets](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/matthew.parets/32/1472_2.png) [@matthew.parets](https://forum.code.org/u/matthew.parets)\
**Post date:** [November 30, 2021, 1:49pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/11 "2021-11-30T13:49:37Z")

</div>

I would like to add my name to the chorus asking for this feature; the ability to share an app without the remix button, keeping the code and designer hidden. Being able to create my own “Make” lessons, letting the students explore the working app, would greatly improve the students experience and be a huge reduction in my work load for such assignments.

---

<div class="post-metadata">

**Author:** ![i15904503668i](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@i15904503668i](https://forum.code.org/u/i15904503668i)\
**Post date:** [December 17, 2021, 6:58pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/12 "2021-12-17T18:58:42Z")

</div>

Just an update I guess, but one can store the source code in Pastebin and write a little bootloader that reads from pastebin. Make the URL as a cloud value (this cannot be remixed). This way, students won’t have access to the source at all, since they have no access to the link.  
Only downside is the usage of eval().

---

<div class="post-metadata">

**Author:** ![i15904503668i](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@i15904503668i](https://forum.code.org/u/i15904503668i)\
**Post date:** [December 17, 2021, 7:04pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/13 "2021-12-17T19:04:46Z")

</div>

Just a heads up, but there are commands in browser-embedded console to view the code. I won’t put it out here publicly, but embed?nosource is not safe. DM me for more info.

---

<div class="post-metadata">

**Author:** ![jenskristiantoft](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jenskristiantoft](https://forum.code.org/u/jenskristiantoft)\
**Post date:** [September 10, 2024, 1:59pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/14 "2024-09-10T13:59:01Z")

</div>

Hi.  
I know its been long since your reply, but maybe you can/will still help me.  
I wanna do the same thing, but I dont understand what you mean. Could you perhaps write in greater detail what you did? What is LMS?

---

<div class="post-metadata">

**Author:** ![ktpanderson](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@ktpanderson](https://forum.code.org/u/ktpanderson)\
**Post date:** [September 10, 2024, 7:01pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/15 "2024-09-10T19:01:48Z")

</div>

An LMS is like Canvas or Blackboard - wherever you post links for your students.  
[Here](https://drive.google.com/file/d/1RS3p8Va-eyo4eMuZUiXFQ4IBn3ElMBYO/view?usp=sharing) is a screen recording I made that will walk you through how to link this:

---

<div class="post-metadata">

**Author:** ![jenskristiantoft](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jenskristiantoft](https://forum.code.org/u/jenskristiantoft)\
**Post date:** [September 11, 2024, 5:21pm UTC](https://forum.code.org/t/how-to-share-app-and-keep-code-hidden/33860/16 "2024-09-11T17:21:25Z")

</div>

Wow! Great video. Thanks for sharing!
