Hardening Open source installation?

Discuss Technical Queries about OrangeHRM
Post Reply
happydance
Posts:1
Joined:Wed Apr 07, 2021 6:25 am
Hardening Open source installation?

Post by happydance » Wed Apr 07, 2021 6:42 am

Just noticed that the folders on the open source installation has file permission 777, from what I've been told and read that is not very secure.

Can I change the file permission to a more secure one like 644 and what files and folders are okay to change and which one need more access like 775 instead of 777 or 755?

rajitha
Posts:48
Joined:Tue Feb 11, 2020 9:54 am

Re: Hardening Open source installation?

Post by rajitha » Fri Apr 30, 2021 6:01 am

Hi
Yes, it's totally up to you.
But application need write permission to the below directories, since the application already checked the write permission at the installation phase,

Code: Select all

lib/confs
lib/logs
symfony/config
symfony/apps/orangehrm/config
symfony/cache
symfony/log

775 fine for above directories, don't want to give 775 for the whole orangehrm application directory. if you are getting some functional issues then, you may have to use 775 for whole directory.
Attachments
Screenshot from 2021-04-30 11-27-28.png
Screenshot from 2021-04-30 11-27-28.png (98.92KiB)Viewed 15805 times

Post Reply