User Tools

Site Tools


wmanager:folder_security_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wmanager:folder_security_tips [2018/05/14 13:03]
Gianluca Pelliccioli
— (current)
Line 1: Line 1:
-====== TECH2018/S1/Folder security tips ====== 
  
- 
-====  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: 
- 
-Please run this script in the parent folder of your Wmanager instance: 
-<code> 
-chown root.root demo.wmanager.org/ -R 
-find ./ -type d -exec chmod 755 {} \; 
-find ./ -type f -exec chmod 644 {} \; 
-</code> 
- 
-<code> 
- 
-chown apache.apache ./application/config -R 
-chown apache.apache ./application/logs -R 
-chown apache.apache ./assets/uploads -R 
-chown apache.apache ./application/modules -R 
-chown apache.apache ./application/controllers/cron -R 
- 
- 
-</code> 
- 
-[[ wmanager:installation_guide | Back to installation page ]] 
wmanager/folder_security_tips.1526303014.txt.gz ยท Last modified: 2018/05/14 13:03 by Gianluca Pelliccioli