Reputation: 404
When I store files that access my database, is changing the permissions on the file to 0600 enough to keep anything but other files on my server from accessing that file? I have read that one way is to store the file out of the web root directory, but will changing the permissions give you the same secure results?
Upvotes: 2
Views: 94
Reputation: 21830
there are a number of things you can do:
I prefer method 3.
Upvotes: 1