store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 25, 2013 12:35 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 2 posts ] 
Author Message
 Post subject: Disabling MySQL access between cPanel accounts
Unread postPosted: Sun May 20, 2012 2:42 am 
Offline
Forum User
Forum User

Joined: Fri Jun 17, 2011 10:56 am
Posts: 20
Location: Israel
Hi,

Situation -

The correct behavior of MySQL would be to allow connections from localhost to a database if there is a grant for that specific user. You can't lock that down as the connection would be coming from 'localhost'.

Meaning, as long as I am on the same server (shared hosting), and I know the dbname & password - I can easily connect to the database.

I couldn't find Anyway to disallow this, is that something mod_security can handle with ?

btw, Googeling about it, I found something with suhosin -

suhosin.sql.user_prefix
suhosin.sql.user_postfix

But I am no sure how to configure it..

Eli.


Top
 Profile  
 
 Post subject: Re: Disabling MySQL access between cPanel accounts
Unread postPosted: Sun May 20, 2012 12:47 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3249
Location: Chantilly, VA
Thanks for the question, no modsecurity isnt going to be able to help you with that. It doesnt interact with mysql in any way.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 2 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group