Ask coding questions

← Back to all posts
Public Repls.
h
NoahsArk (2)

If I have public repls, does that mean people can access to view the code/private files (.env)?

Comments
hotnewtop
Bookie0 (5948)

hi there!

people can view all your repls (except the .env files: https://docs.repl.it/repls/secret-keys) but they can't edit any of your code. You can also have private repls (no one can even view it) if you get the hacker plan.

InvisibleOne (2675)

No, other users can't view .env files.

Galoogle (0)

no, they can't edit them, only view them or fork them. just another reason to get hacker plan.

that's advertising for ya!

PattanAhmed (1397)

@NoahsArk Hi,
Don't worry...
Public People can see every bit of code in every line of code but except one thing...
That is:-
.env files


Reference:- Click here

That's it.
Thanks!

Hope this helps

Coder100 (16802)

.env files are hidden always no matter what.
Read more

SixBeeps (5043)

they can view everything except the .env file.