Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 04-20-2008, 04:08 PM
Knightly
Accomplished Programmer
 
Join Date: Nov 2006
Location: Honolulu, HI
Posts: 91
Default

I'd recommend being careful about compiling the login information for MySQL into the code. It may be paranoia, but I always feel that anything that goes into the code can be retrieved from the code. Since the user you're using has to have rights to update your account table, it's something you really want to protect.

The way I've seen a lot of them done is that they interface with a back end (other than MySQL) that does the database authentication for them. That way any code authenticating to the back end is client side...but if it's compromised all you have access to is what a user would have access to, rather than what a DB writer would have access to.

If you're not good at client/server programming (I'm sure not), the way that I did mine was using a backend web interface that the user authenticates to. It's just a bunch of PHP pages that return error/success codes. Not to say that's the best way to do it, client/server apps are much more elegant...but it works with little effort.
Reply With Quote
 


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 05:16 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3