Raised This Month: $ Target: $400
 0% 

hide DB password...HELP...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lucky109
Senior Member
Join Date: Jan 2005
Old 07-27-2007 , 12:52   hide DB password...HELP...
Reply With Quote #1

PHP Code:
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
sql_connect()
{
    
dbc dbi_connect("12.34.56.78","myid","mypw","myid")

http://wraith.techcore.org/amxreader/
use AmxDisassembler open this amxx can read MY DB passwords...
how to hide my DB passwords because my plugin runinng in two servers?
lucky109 is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 07-27-2007 , 13:09   Re: hide DB password...HELP...
Reply With Quote #2

Have it read that database information from a file.
hlstriker is offline
lucky109
Senior Member
Join Date: Jan 2005
Old 07-27-2007 , 13:17   Re: hide DB password...HELP...
Reply With Quote #3

Quote:
Originally Posted by hlstriker View Post
Have it read that database information from a file.
so someone can read my DB IP , ID, PW
then he can login my phpmyadmin....
lucky109 is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 07-27-2007 , 13:27   Re: hide DB password...HELP...
Reply With Quote #4

Quote:
Originally Posted by lucky109 View Post
so someone can read my DB IP , ID, PW
then he can login my phpmyadmin....
What?

I'm saying that you can store your database information in a separate file, then read the information into the plugin from that file. This way the database information isn't stored in the sma.

Unless you are on a server others have access to, then my posts would be worthless
hlstriker is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 07-28-2007 , 14:59   Re: hide DB password...HELP...
Reply With Quote #5

I've encountered this problem before. Just set the account to read-only, or make another one that's read only.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 01:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode