Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed May 20, 2009 2:19 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
Hi,
I have just finished setup with a fresh install of CentOS 5.3 using:

- apache (listening on both port 80 and 1080 for http) 443 for https
- php
- mysql + phpmyadmin
- postfix, dovecot, clamav, spamassassin, amavisd
- iptables + enforcing selinux
- sshd

the question is...
phpmy admin can be accessed simply by digiting
www.mydomain.org/phpmyadmin
when digiting this url phpmyadmin ask me for a user/password and if OK it grant the full access to the database.
do you think that this is a secure way to manage phpmyadmin?
can I do more?


Top
   
PostPosted: Wed May 20, 2009 3:19 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
sblantipodi wrote:
the question is...
phpmy admin can be accessed simply by digiting
www.mydomain.org/phpmyadmin
when digiting this url phpmyadmin ask me for a user/password and if OK it grant the full access to the database.
do you think that this is a secure way to manage phpmyadmin?
can I do more?

First, what wouldn't hurt, rename "phpmyadmin" on the server to something else, and maybe throw it behind a subdomain.

Second, in your Apache configuration, you can set access privileges on the /phpmyadmin folder by IP. This way, only IPs you allow will have access to the folder. There are a bunch of other things Apache can do for you security-wise in this regard, have a look at Access Control. To accomplish Allow/Deny client filtering, use mod_authz_host.


Top
   
PostPosted: Wed May 20, 2009 7:06 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
jed wrote:
sblantipodi wrote:
the question is...
phpmy admin can be accessed simply by digiting
www.mydomain.org/phpmyadmin
when digiting this url phpmyadmin ask me for a user/password and if OK it grant the full access to the database.
do you think that this is a secure way to manage phpmyadmin?
can I do more?

First, what wouldn't hurt, rename "phpmyadmin" on the server to something else, and maybe throw it behind a subdomain.

Second, in your Apache configuration, you can set access privileges on the /phpmyadmin folder by IP. This way, only IPs you allow will have access to the folder. There are a bunch of other things Apache can do for you security-wise in this regard, have a look at Access Control. To accomplish Allow/Deny client filtering, use mod_authz_host.


really kind, thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group