EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Posted: 04/26/2012 14:21:12
by Daniel Schaer (Standard support level)
Joined: 02/16/2012
Posts: 44


I added SBB SSL functionalities to SMTP comunications using IOHandlers, which is nice because now I can deploy this features without distributing ssl dlls. Now I am trying to add HTTPS support for my datasnap based client-server comunications. Can I do that in any way using SBB?.

Thank you very much.
Posted: 04/26/2012 23:46:58
by Eugene Mayevski (Team)

What components are used as the transport?

Sincerely yours
Eugene Mayevski
Posted: 04/27/2012 00:23:42
by Eugene Mayevski (Team)

I've looked through DataSnap sources and found TSocketTransport and TSocketConnection classes. TSocketTransport uses TCustomWinSocket for socket communication (which is strange as TCustomWinSocket was deprecated 10 years ago). And it seems that the particular socket instance is replaceable.

SecureBlackbox offers supplementary classes which provides SSL-enabled versions of TClientWinSocket and TServerWinSocket (descendants of TCustomWinSocket). These classes can be found in <SecureBlackbox>\Classes\Sockets folder. You would need to compile the package you need there.

If you can give us a small sample which illustrates how DataSnap is used, we'll be able to walk through the code and see where and how you can replace the socket component.

Sincerely yours
Eugene Mayevski



Topic viewed 770 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!