|
 |
Online Casino Games
|
Site is based once again on Microsoft technologies with ASP + Flash for the web part and COM+ components written in C++, and Database is on MS-SQL 7.0.
Somewhat similar to chess server, but more secure, since games are played for real money. In that sense, the logging procedure is different:
1. User logs on from the ASP page that uses Machine Server to contact database
2. User selects the game to play - ASP then packs asks Server to create an instance of the appropriate machine; Server then returns unique ID of the machine. ASP then packs the HTML that embeds the Flash with appropriate machine client, and sends it ID. After that, Flash connects to the socket and provides its ID to the Machine Server, which finds the machine and makes direct connection between Flash and the machine. In this way, attacker cannot connect to the machine, since it has no information about the ID.

Also, if fake ID is provided, Server writes information about the attacker: IP and time.
After Flash and machine object are matched, they exchange XML messages that are appropriate for each particular game.
Machine classes are forming small, but well-organized hierarchy of machine classes and number of utility classes. Such organization guarantees minimal amount of code for each new machine, and all dangerous parts (such as money withdrawal) are written on only one place - in the root class.
|
|
|