Is it possible to not grant all mysql permissions?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2012 10:37 AM
When configuring Alfresco 3 or 4 with MySQL as the database backend, the documentation all states you do this to create the database and alfresco user:
mysql> CREATE DATABASE alfresco;
mysql> CREATE USER 'alfresco'@'localhost' IDENTIFIED BY '<password>';
mysql> GRANT ALL PRIVILEGES ON alfresco.* TO 'alfresco'@'localhost';
But To comply with the principal of least permission, we are wondering… is there really a need for ALL priviledges for the alfresco user? What ones could we eliminate safely, if any?
-Nicholas
mysql> CREATE DATABASE alfresco;
mysql> CREATE USER 'alfresco'@'localhost' IDENTIFIED BY '<password>';
mysql> GRANT ALL PRIVILEGES ON alfresco.* TO 'alfresco'@'localhost';
But To comply with the principal of least permission, we are wondering… is there really a need for ALL priviledges for the alfresco user? What ones could we eliminate safely, if any?
-Nicholas
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2012 02:28 AM
Yes, you require to have all the previlages for alfresco user on the DB.
As by default whenever alfresco do some changes in the db it will do this with this user.
If you changes the permission you will get the error when you change something from front end.
As it will also go and try to update the db accordingly.
As by default whenever alfresco do some changes in the db it will do this with this user.
If you changes the permission you will get the error when you change something from front end.
As it will also go and try to update the db accordingly.
