请问三层的客户端和服务器之间传输数据怎么加密啊
比方说数据库是mysql
应用服务器用的是adoconnection+adotable+datasetprovider
客户端socketconnection+clientdataset+datasource+dbgird显示内容谢谢了
比方说数据库是mysql
应用服务器用的是adoconnection+adotable+datasetprovider
客户端socketconnection+clientdataset+datasource+dbgird显示内容谢谢了
解决方案 »
- TADOQuery.ExecSQL所执行的SQL中可否包含PRINT、IF EXISTS等语句?
- delphi 关于socket.ReceiveBuf接收超过一定长度就出错的问题,请达人们指点!!!
- 如何生成不用注册的dll?
- Delphi环境中,用jmail实现邮件自动发送问题
- 错在那里?
- 求算法.
- 怎么样读取outlook express的邮箱(如收件箱)的邮件?
- 欢迎大家来我的网站坐坐
- 怎样把TImgEdit控件上的图片复制到Printer的画布上?
- 如何得到scrollbar的横竖那个移动滑块的移动距离!!请求各位大侠告诉我答案!!
- 关于application.terminate后还继续运行的问题
- 哪里有DELPHI7所有自带控件使用详解的书?
本意是压缩传输数据,不过起到了加密作用。
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步也可以编译啊
必须要那么做吗?