Sharing your project safely

Programming guides

Sharing a project lets other people enjoy your work and learn from it. Before you share, check what the project contains. Source code, comments, pictures, saved data, and screenshots can reveal information as well as show your game.

A good beginner project usually does not need a real name, home address, password, or school timetable. Use pretend data when you can.

Check the backpack

Imagine lending someone a backpack. You would check the pockets before handing it over. Treat your project folder in the same way: look through what will actually be included, not only the file currently open in the editor.

A secret, such as a password or an access token, is something you should not publish in source code. An access token is a special value that can allow someone to use an account or service. Hiding it in a comment or an unused variable does not make it private.

Use a pretend player

This example needs no personal information, saved files, or network connection.

# language: en
let player = "SpaceOtter"
let score = 12
say "Player:", player
say "Score:", score

Predict, then run

What information will another person see?

Player: SpaceOtter
Score: 12

They see a made-up player name and a game score. The program does not ask who you are or where you live.

Your challenge

Prepare a shareable copy of a tiny project. Check the source, comments, bundled pictures, and example data. Add a short note describing what the program does and how to run it. Use your own artwork or material you have permission to share, and keep any required credit with it.

Ask a trusted adult to help choose an appropriate place to publish if you are unsure. Show a test copy before sharing it more widely.

A common mistake

Removing a secret from the newest file does not remove it from earlier copies or messages. If a real secret was shared, ask its owner or a trusted adult to help replace or disable it. Do not paste it into a help request.

Also review source code you receive before running it. A familiar-looking title does not explain everything a program does. Check any requested permissions with a trusted adult when you are unsure why they are needed.

Where next?

Project assets · Source and apps · Planning a project