Page 1 of 1

SFS and Encrypting Payment Information

Posted: 02 Jul 2008, 05:27
by slog
I am investigating the possibility of using a flash client connected to SFS to gather payment information entered by a user.

Would it be possible to send this sensitive information via https back to Smart Fox server? I would like to avoid throwing the user to a html page.

Is this conceptually possible?


Posted: 02 Jul 2008, 12:15
by potmo
I guess that Smartfox would not be less safe than a browser.
But can you send HTTPS with The Fox?

Posted: 02 Jul 2008, 12:56
by Lapo
SmartFoxServer comes with Jetty as the embedded web server which supports https. In order to configure the https mode you should check the docs at the Jetty website ->

Hope it helps

Posted: 03 Jul 2008, 01:39
by slog
Thanks Lapo,

Can you go into a bit more detail as to the relationship between SFS and Jetty?

Does all traffic from the client go through Jetty, or is it just Blue Box HTTP requests?

Posted: 03 Jul 2008, 07:00
by Lapo
Jetty runs in parallel and it is embedded in SFS.
This means that you can deploy any servlet written in Java or Python (Jython to be precise) in the Jetty webserver plus you can interact with the Server and its extensions.

A few examples of practical use:
- create a web app for monitoring your extensions
- create a website that can directly talk to SFS for the registration process or other tasks...

SFS comes also with its embedded RDBMS engine (H2, a very fast engine) so you can deploy your website, game and multiplayer logic all in one place without any other software requirements.

Back to your question, the idea is that you could configure the HTTPS on the Jetty webserver and write your own servlet for integrating the payment system into the multiuser application.

makes sense?

Posted: 04 Jul 2008, 02:44
by slog
I have almost got it.

Is it possible for the web app to trigger extension events inside Smartfox? Other than the image loader tutorial is there any documentation on this?

Posted: 04 Jul 2008, 08:18
by Lapo