Home About Contact
Windows Server 2008 Forum



So i have been searching for a way to secure the mysql password in the php.ini, but i can only find difficult ways on how to do it. Anyone got



Login or register to remove this ad.

Reply
Old 03-06-2008, 04:23 AM   #1
Member
 
petter7252's Avatar
 
Join Date: Feb 2008
Posts: 26
Rep Power: 0
petter7252 is on a distinguished road
Default securing the php mysql password?

So i have been searching for a way to secure the mysql password in the php.ini, but i can only find difficult ways on how to do it.

Anyone got an easy step by step on how to make the mysql password in the php.ini file?

I have heard that hash is the easiest way to go, but how does it comunicate with the mysql sever with just random signs? is there more i gotta do for the hash to work?
petter7252 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 03-06-2008, 05:14 PM   #2
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 190
Blog Entries: 14
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: securing the php mysql password?

I've never used php.ini to store mysql user info and password. php.ini is not accessible uless you have php setup in the webroot so that should be secure in itself. If you plan on sharing the box with other users that have admin access, not a good idea, then it would be a good idea to encrypt it.
I have never done it so I can't help with this.
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2008, 11:31 AM   #3
Member
 
petter7252's Avatar
 
Join Date: Feb 2008
Posts: 26
Rep Power: 0
petter7252 is on a distinguished road
Default Re: securing the php mysql password?

Ok, so if i got it in the c:/windoes there is no way that they can get it?
petter7252 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2008, 04:20 PM   #4
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 190
Blog Entries: 14
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: securing the php mysql password?

No. Only way they could get it is if they are admin on the server.
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-08-2008, 01:15 PM   #5
Member
 
petter7252's Avatar
 
Join Date: Feb 2008
Posts: 26
Rep Power: 0
petter7252 is on a distinguished road
Default Re: securing the php mysql password?

ok, thanks.
petter7252 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
mysql, password, php, securing


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Login or register to remove this ad.


All times are GMT -6. The time now is 11:39 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB

Copyright © 2008 Windows Server 2008 Forum and Robert Schwarz. All rights reserved.
Windows Server 2008 Forum is an independent web site and is not affiliated with Microsoft Corporation.