How to Restirct a file by directly accessing
Sir hello, I made a custom command for viewing uptime on Linux server.
curl -Lso- then their browser downloads uptime.sh file .
but I don't want that anyone can view or download file directly.
like if someone opens | bash
Then they will get output.
Please tell.
Please sign in to leave a comment.
Comments
0 comments