![]() |
|
Security of client-side scripts - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html) +--- Forum: Development (https://forum.sa-mp.nl/forum-16.html) +--- Thread: Security of client-side scripts (/thread-6460.html) Pages:
1
2
|
Re: Security of client-side scripts - dab - 02-24-2008 We could have the server "act" as a client side as well. Just make functions and events from client side that'll relay info back to the server, and run functions that require client side. This way things aren't at all done client side, but run entirely from server side... That might require more work for the server though Just an idea.
Re: Security of client-side scripts - tomozj - 02-24-2008 Well, how do we do GUIs server-side then? ![]() We can't. Re: Security of client-side scripts - Pugwipe - 02-24-2008 (02-24-2008, 12:52 PM)dab link Wrote: We could have the server "act" as a client side as well. Just make functions and events from client side that'll relay info back to the server, and run functions that require client side. This way things aren't at all done client side, but run entirely from server side... That might require more work for the server thoughI don't think that's a good idea. In my opinion, calculations that CAN be performed on the client side shouldn't be passed to the server instead; doing so would cause lots of unnecessary traffic and delay, especially with high pings. Re: Security of client-side scripts - dab - 02-24-2008 (02-24-2008, 01:00 PM)tomozj link Wrote: Well, how do we do GUIs server-side then? Well that's what I meant by "and run functions that require client side" is just that I'm bad with words. We would have functions that'd do the gui creation, but all the callbacks would trigger server side events (02-24-2008, 01:15 PM)Pugwipe link Wrote: so would cause lots of unnecessary traffic and delay, especially with high pings. Right, which is why : "That might require more work for the server though " I donno. That's just my idea D
|