Posted by sahil5684 on February 22, 2013 at 9:09am
I am really sorry to ask this question but this is something important as my customer is asking this for security purpose. He don't want some content to show to super user even if he has the access to it. Any help would be appreciable.
Comments
The issue is for Drupal 7
FYI :)
As per the security Guide,
As per the security Guide, Your site doesn't need #1 user, please disable that. instead create one user accoutn and assign the administer role. Configure the required permission for the administer role.
read this documentation page - http://drupal.org/node/947312
--
Kamalakannan S
Global SoftLab
I love programming and Drupal
Thanks!
Well this is really informative. I was afraid to loose access from few files like update.php and install.php after disabling super user. But this solves my issue so far. Thank you very much!
.
... very good point.
There must be lots of organisations that may not want their clever web-design guys to see & know everything.
What to do?
The problem of course is that user1 can always change this.
When the site is live the user1 credentials are passed to the top dog - the clients boss or IT director. Only s/he can allow access to the user1 position if & when required - in his/her presence. In a critical, high security requiring set-up this may be the only way.
But, this will only be effective if the same is done for Database & FTP access to the server and the entire system has to be secured in a similar way.
This is what I would do in a critical, protective situation. Luckily I know enough to take up user1 after development and would be able to tweak the permissions table as and when needed. But not all clients may have this resource in-house.
.....
-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More
Well as far as I know...
tryitonce, I don't think this would help as there are no way to set permissions for super user through administrative interface. I feel the reply above helps me to understand the issue in-depth thanks though!
.
well, sahil5684, of course you can set permissions for the superuser no. 1.
The only problem is he can override them. So, that's were the thinking comes in to give the keys to someone else if the admin people in an organisation cannot be trusted sufficiently or should not even be tempted.
Security aside - there are situations where the superuser might remove her/his access permissions. For ex. if a superuser is also a member and needs to make sure to post only as the "normal" member and not by accident as the superuser.
-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More