# Security Issues in Mautic

**URL:** https://forum.mautic.org/t/security-issues-in-mautic/18467
**Category:** Mautic 3 - Install/Upgrade Support
**Tags:** community, discussion
**Created:** [March 7, 2021, 7:39am UTC](https://forum.mautic.org/t/security-issues-in-mautic/18467 "2021-03-07T07:39:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nick\_p](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick_p/32/613_2.png) [@nick\_p](https://forum.mautic.org/u/nick_p)
#### Post date: [March 7, 2021, 7:39am UTC](https://forum.mautic.org/t/security-issues-in-mautic/18467/1 "2021-03-07T07:39:17Z")

</div>

I am from the Drupal background and just had my first install of Mautic. I had to give apache-user ownership of the entire Mautic dump in order for it to run.  
In Drupal, if an apache-user is given access to any folder, you write an HTACCESS file to make sure that no PHP file can be executed in that folder due to security reasons.

My question is, how safe it is to give apache-user complete control over the entire install?

---

<div class="post-metadata">

### Author: ![nick\_p](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick_p/32/613_2.png) [@nick\_p](https://forum.mautic.org/u/nick_p)
#### Post date: [March 7, 2021, 8:03am UTC](https://forum.mautic.org/t/security-issues-in-mautic/18467/2 "2021-03-07T08:03:48Z")

</div>

**Update** After the install was successful, I changed the permissions again. Mautic is complaining about a few folders now (compare to asking for access to the entire install). You can check this by going to /sysinfo URL & then selecting “Folders & File Permissions” from the left menu.

> /var/www/crm.webcube.club/app/config/local.php |Unwritable|  
> |/var/www/crm.webcube.club/var/cache |Unwritable|  
> |/var/www/crm.webcube.club/var/logs |Unwritable|  
> |/var/www/crm.webcube.club/media/files |Unwritable|  
> |/var/www/crm.webcube.club/media/images |Unwritable|  
> |/var/www/crm.webcube.club/translations |Unwritable|

These folders still have some PHP files, which seems unsafe to me. Any suggestions guys?
