This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wmanager:folder_security_tips [2018/05/14 13:02] Gianluca Pelliccioli |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== TECH2018/ | ||
- | |||
- | ==== FOLDER SECURITY ==== | ||
- | |||
- | This is the recommended steps for security on Apache: | ||
- | * Set the default security | ||
- | * 644 files, root.root | ||
- | * 755 folders, root.root | ||
- | |||
- | Script to change the permissions recursively: | ||
- | < | ||
- | chown root.root demo.wmanager.org/ | ||
- | find ./ -type d -exec chmod 755 {} \; | ||
- | find ./ -type f -exec chmod 644 {} \; | ||
- | |||
- | |||
- | chown apache.apache ./ | ||
- | chown apache.apache ./ | ||
- | chown apache.apache ./ | ||
- | chown apache.apache ./ | ||
- | chown apache.apache ./ | ||
- | |||
- | |||
- | </ | ||
- | |||
- | [[ wmanager: |