Ask coding questions

← Back to all posts
Can everyone modify my code?
Vynokris (0)

Hey! I'm new here and I am wondering if everyone I share my project with is able to modify it. If yes, how to I put it to read and execute only please?

Answered by mwilki7 (1134) [earned 5 cycles]
View Answer
Comments
hotnewtop
mwilki7 (1134)

Only an invite link will allow people to modify your code.
Your project by default is read-only
If someone tries modify it in read-only mode, then a copy of the repl is made on their account and they modify the copy.

Vynokris (0)

@mwilki7 So how do share it in read-only?

mwilki7 (1134)

@Vynokris Sharing the URL is always read-only.
If you see "join" somewhere in the URL, that means you want them to join and modify your code.

Non-modifiable link example: https://repl.it/@mwilki7/Pong

Counter-intuitively (now that I'm looking at it) the share button is not read-only:

If you were to make a post with your repl in it and you selected your repl to be the project to be shown, that also will still be read-only.