0

我正在使用 jqxgrid 导出数据功能:

$("#jqxGrid").jqxGrid('exportdata', 'xls', fileName);

但这会导致数据离开加密连接并通过未加密连接发送。第三方可以轻松读取数据。由于它可能是敏感信息,我是否可以在仍然使用该功能的同时阻止它离开安全连接?

4

1 回答 1

0

jqWidgets needs to send your grid data to a server, so this server can resend it to the user. This is how the user get the file like a download, you can't do that only on client side.

When you call 'exportdata', it uses a file which is located on jqWidgets' servers. You have to add the URL of your own server to make sure it won't send data to a third party. Look a the API here : http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-api.htm

于 2014-03-05T17:21:57.253 回答