Ask coding questions

← Back to all posts
Can you make a file that only the creator can see with the hacker plan?
h
okalisl

I have been trying to make some files hidden. So I was thinking if there was a way to make a file ONLY the creator can look at. Anyone know how?

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
okalisl
Comments
hotnewtop
SixBeeps

No, you cannot hide an entire file. If you need to keep some data to yourself, you can use Secrets for that.

okalisl

Thanks @SixBeeps!

AmoghTheCool

@okalisl you could use .env's though they are deprecated, or you can store the code in a secret and eval or exec it.