请问三层的客户端和服务器之间传输数据怎么加密啊
比方说数据库是mysql
应用服务器用的是adoconnection+adotable+datasetprovider
客户端socketconnection+clientdataset+datasource+dbgird显示内容谢谢了
比方说数据库是mysql
应用服务器用的是adoconnection+adotable+datasetprovider
客户端socketconnection+clientdataset+datasource+dbgird显示内容谢谢了
本意是压缩传输数据,不过起到了加密作用。
1) Make sure you have copied the ZLib units from the CD to a directory and
have added that directory to this projects search path.
2) Compile Intrcpt.dpr.
3) Register Intrcpt.DLL using REGSVR32 or TREGSVR on both the client and the
server.
4) On the Server: Bring up the properties for the Socket Server (right click
on the icon in the task bar and select properties) and put the GUID for
Intrcpt.DLL in the Interceptor GUID edit control. The GUID is defined
below as Class_DataCompressor.
5) On the Client: Set the TSocketConnection.InterceptName property to
Intrcpt.DataCompressor. This will set the InterceptGUID property to the
Class_DataCompressor GUID. Recompile your client.使用方法:
1、在delphi的安装目录下 找到ZLib.pas copy 到lib路径中
2、编译Intrcpt.dpr
3、使用REGSVR32 or TREGSVR 在服务端和客户端注册
4、把Intrcpt.dpr中的GUID 复制到scktsrvr.exe下的Intercert GUID
5、在客户端同样把把Intrcpt.dpr中的GUID 复制到 SocketConnection的InterceptGUID
整个过程就是这样
那直接按说明的用就可以了哦
似乎不用说明的1步也可以编译啊
必须要那么做吗?