I can't private a file

I’m trying to private a file so that random people cannot access it but it’s not working. I’ve changed the permissions so only the owner can read and write, but it still is downloadable by anyone.

Hello!

Those are OS specific permissions, they won’t affect the visibility of your file to the clients.

What you should do is create a password protected directory and move all private files there. Or, if you require a file to be present in a public folder but restrict the access to it, you could use some .htaccess rules.

This topic was automatically closed after 28 hours. New replies are no longer allowed.