0
I have a php code that makes a request with Curl on a page, but it saves cookies in a cookies.txt text file, and anyone can have access to that file in a direct link "www.meusite.com.br/cookies.txt" I wonder how to hide this, because the security of my application will be at risk if someone finds this file.
Thanks more seems to me that even so with a scanner it is possible to find this cookie file on my site
– Estudante PHP
But I am passing this so you can put the files OUT of the site. I edited the post to make it clearer. If you just want to block the files, there are already answers on the site. If you are apache, just search for . htaccess
– Bacco
Thank you I will inform me more about :)
– Estudante PHP