Jump to content

Question about encoding/decoding


ds1-e

Recommended Posts

  • Scripting Moderators

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

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 by IIYAMA
Link to comment
  • Scripting Moderators

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...