meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 62 forks source link

server file permissions ? #1161

Open jberanek opened 10 years ago

jberanek commented 10 years ago

after install on my server, do i need to set file permissions? if so which?

Reported by: *anonymous

Original Ticket: mrbs/support-requests/425

jberanek commented 10 years ago

644 (755 for directories) is sufficient.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

except config.inc.php to 444 ? are the other files with different file permissions as 644 ?

Original comment by: *anonymous

jberanek commented 10 years ago

You could set config.inc.php to 444 (or 400, owned by the web server user) if you want a bit more security, but it's not much, as if some code managed to run and write to confic.inc.php it could probably change the permissions too (unless the containing directory wasn't owned by the web server user)...

Original comment by: jberanek

jberanek commented 10 years ago

thank you for the fast answer.

Original comment by: *anonymous