G
G
Gokilla2018-07-25 19:30:34
JavaScript
Gokilla, 2018-07-25 19:30:34

Client-side hidden js passing?

The question is more debatable than coding.
There is such task:
There is a server on it a page on html+javascript.
There is a webgl client.
Is it possible to transfer an array of numbers from the server to the client, so that there is no substitute server page,
and also to hide the structure of the array itself, its length, the number separators were not visible, and is it possible to put it in some way on the client so that it is not clear, otherwise attacks are possible to cipher text.
Without php, but you can if you can use the database from the server

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2018-07-25
@xmoonlight

Two options: either an algorithm, or a check on the server.
Everything else is unsafe.
PS: if this is a game - synchronize the level state (hash sum) every N-packets from the client to the server, when rejected - fix the cheat / modification of the level.

P
ProAI, 2018-07-25
@ProAI

In any case, decryption will be performed on the client and your transmitted data can be obtained on the client side, and HTTPS saves from spoofing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question