Private Repls question
I just got hacker plan and I'm wondering something about private repls.
If I have a repl that has a repl.co URL (like an HTML, PHP Web Server, things of the sort), would people have access to that? I want to secure some backend code but I want people to still be able to access the frontend, ,if that makes any sense.
Yes. The site will still be hosted and anyone will be able to view it. Making a repl private only prevents people from looking at the source (although if someone opens developer tools or control u on the actual site, everything on the site will be exposed; websites are client based.)
I recommend using a node.js repl and using .env files to hide any keys. Then you can use sockets.io to communicate with the client, rather than actually having any secret keys on the client side.
@AdCharity Yeah I feel heroku is more secure since it doesn't have the text-editor aspect that you can see the code on. I could be completely wrong here though. I mainly used it previously because it was free and secure (since the cannon version of repl.it had exposed source code for anyone who knew the repl name and your user name)