Skip to content
Sign upLog in

How do i prevent people from seeing my code?

Profile icon
CompteOfficiel

I really don't want people to see my code, just run it.

How do I do that? Do I need a "hacker" account? I just can't figure this out....

thank you! :)

You are viewing a single comment. View All
Profile icon
Xenity

you can't make your code hidden. But with hacker you can make private repls, the only downside to those are that no one can see them (only you) so no one can run them either (unless you invite them to join your repl)

Profile icon
CompteOfficiel

@Xenity
So then replit isn't really a place to create web things for the general public, I guess? I don't understand the logic behind this at all...why do you have to share your code with the world?

Profile icon
Wumi4

@CompteOfficiel
Replit is designed with sharing and collaboration as the core. See the Beta Apps option. You can see many people share their thing that they made. And you will sometimes see people posting about joining a team. And also, as long as you don't share your Repl to anyone, no one is gonna randomly enter your Repl unless they have some kind of superpower.

Profile icon
CompteOfficiel

@Wumi4
But I want people to run my code, just not see (and potentially steal) the code. The project I'm working on involves cryptos and is very delicate..it is small but contains work with hashing algorithms and crypto keys that really shouldn't be public.

See what I mean? I mean I see that you can make private global variables, which is a start, but doesn't go far enough in this case...unless maybe those global variables can contain runnable code, which I guess I could look into, it being Python after all..

Profile icon
Xenity

@CompteOfficiel
yeah, what
@Wumi4
said, Replit is a place for people to collaborate. If you want your code private, then i'd suggest using Microsoft's Visual Studio or you could use something like codepen (people can view your stuff but its not as big as a problem because no one really does that)

Profile icon
Xenity

@Xenity
the only downside to codepen is that it does not support a ton of languages

Profile icon
CompteOfficiel

@Xenity
nah. what i need i my own server, or the equivelent thereof. I do appreciate all of your kind help. I can just see that this isn't the service for what I need.