hardcoding database info

Discussion in 'Plugin Development' started by Skionz, Sep 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Skionz

    Is there any way to securely hardcode your database information like you username and password? If not how would I go about logging data about who uses my plugin? I could easily send information like players online to my database if I hardcoded the info but then anyone could decompile it. Any ideas?
     
  2. Offline

    ZeusAllMighty11

    Don't send it to a database directly. Send it to a web page running a script which will securely update the metrics.

    Only hardcode values for testing and never for release.

    Or never at all, it's bad practice.
     
    Zarkopafilis likes this.
  3. Offline

    Zarkopafilis

    Also obfuscate....and send the weirdest packets you can do
     
Thread Status:
Not open for further replies.

Share This Page