javascript - Data security highcharts -
just starting use highcharts. if include data in array within javascript data available download when view source. same when data called, say, csv file. there way of protecting data against copying/download?
no, since highcharts client-side javascript library, data available potentially available end user. there no way "secure" once data reaches user's browser, although can use https, server-side authentication, etc @ least guarantee in principle intended user receives data.
if need visualize data while keeping actual raw data secure, obvious solution render data on server , (in end) serve image or other static content user. lose nice, interactive charts.
you might able use flash or silverlight retrieve data, make part of process harder reverse engineer. not securing anything, making bit harder determined user.
on other hand, user can see data anyway in final chart. if want download data painstakingly identify each data point , create own csv file, right? need figure out enough particular use case, , strike appropriate balance.
Comments
Post a Comment