Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8607699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:25:28+00:00 2026-06-12T03:25:28+00:00

I have a flash game with a php backend and MySQL database. To play

  • 0

I have a flash game with a php backend and MySQL database.

To play the game, users must login. During gameplay the client will also periodically send updates to the database. For example, when the user purchases a new in-game item.

I have two concerns. Firstly the username and password are being sent in plain text to the server (it’s encrypted in my database however). Secondly, after logging in, the client will be sent a user ID to be used in all subsequent requests. These requests are also being sent in plain text.

Both of these communications are at risk from packet sniffing. Once someone gets an idea of the structure of the requests to the server, they could create their own bogus requests, substitute their own values/user IDs and generally cause a lot of upset.

What are my options? would buying an SSL cert and using https be a solution? Could I use a public/private key type thing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:25:29+00:00Added an answer on June 12, 2026 at 3:25 am

    Besides the obvious benefits of SSL there are also drawbacks:

    1. You will have to encrypt everything or nothing.

      • This means, that if your site displays third party ads or anything similar, you’ll have to make sure all of those are available via secure connection.

      • SSL-encrypted traffic is almost twice the size of non-encrypted. This is going to be especially painful for images and other assets, which you generally don’t want to encrypt.

      • SSL encryption is computationally expensive, and will add some % of load on your server (not to worry, unless you have a lot of server-side processing, but for larger applications this is an important factor)

    2. Certificates cost money, have to be updated.

    3. There are some known issues with Flash communicating over SSL and not sending session cookies particularly when using encrypted connection.

    Now, usually, you absolutely don’t want to implement security on your own. And I wouldn’t consider it, if the stakes were high, but I’m not sure what is your particular situation, and I would consider the possibility of doing selective encryption, only for the important things, especially so because the users won’t get frightening messages about “insecure” content mixed with “secure” content if you do that in Flash, and not on the browser level.

    There are cryptographic libraries out there to do RSA encryption in Flash, similarly, you could do RSA on the server side. Probably the way to do that should be decided based on how well the investment in security will profit the project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're devoloping a flash game which have a php and mongodb backend.. It's kinda
I have a game site developed using flash and php. The php code contains
I have a flash game. I've been trying to connect it to a php
For example, Lets say I have a flash swf game, and when users press
Im creating flash game that have the functionality to capture/record its gameplay that can
I have a Flash based game for the browser which sends users' scores to
I have a flash game. I want to send my score to the database
I have a flash game that consists of many different screens (Login, Menu, Game,
I am nearing the completion of my first as3 flash game and have published
I am making a fighting game in Flash and while I have everything running,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.