Scripting Moderators ds1-e Posted July 30, 2019 Scripting Moderators Share Posted July 30, 2019 Hi. I have a question encoding/decoding files. I keep decoding keys in table, after decoding all files table is cleared. (nil) I'm just wondering if client can get somehow a decoding key. If yes, then is there any way to avoid that? Link to comment
Moderators IIYAMA Posted July 30, 2019 Moderators Share Posted July 30, 2019 (edited) You are talking about having encoded files on the client his hard drive? Probably there is no way of avoiding that. It might be possible to request the keys from the server, but that also means that you will have to encode and decode the keys while this is being transferred over the network. Even so the risk is more in the client editing the files, so you still have to compare hash strings before loading it. When 1 of the edited files have been loaded, all other files are being at risk. Even the eventhandlers on serverside and all the elementdata. Edited July 30, 2019 by IIYAMA Link to comment
Scripting Moderators ds1-e Posted July 30, 2019 Author Scripting Moderators Share Posted July 30, 2019 @IIYAMA Quote You are talking about having encoded files on the client his hard drive? Yes. Quote Even so the risk is more in the client editing the files, so you still have to compare hash strings before loading it. I compare hash, if atleast one file doesn't have correct, i am breaking loop. Quote Probably there is no way of avoiding that. It might be possible to request the keys from the server, but that also means that you will have to encode and decode the keys while this is being transferred over the network. This will definitely hurt server? I guess so. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now