Reputation: 209
I am using the bolt cms. I want to take it to production, however just noticed that the documentation and other tutorials ask me to do this :
chmod -R 777 files/ app/database/ app/cache/ app/config/ theme/
I am not a security expert, but from what I've read 777
is usually a bad idea. I understand that the uploads and cache dirs to be 777, but not sure why others are required.
I wanted to know, if
Upvotes: 4
Views: 1335
Reputation: 116
777 is very insecure but it depends on the configuration of your web server.
You should try setting to 755 (only owner can write), if that doesn't work try 775 (owner and group can write). Only use 777 as a last resort.
Upvotes: 0
Reputation: 31
777 means everyone can read, write, execute anything in that dir, if you concern about security you may try this solutiion
You can deny execution from web by using apache rewrite rule Order Deny,Allow Deny from All
Upvotes: 0
Reputation: 127
You need
Upvotes: 3