Malicious Server with "Client-side modding"

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

Malicious Server with "Client-side modding"

by SegFault22 » Tue Oct 04, 2016 19:06

If there were some way to run Lua from the server on the client's "side" (for example, the inventory stuff, even though that isn't really a client-side mod), could someone create a publicly-listed malicious server which sends to a player's client some Lua code which, when run by the player's client, deletes all of their files or something horrible like that?

If so, this would be a really good reason to never implement any "client-side modding" which causes a client to receive and run Lua code sent by the server.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Malicious Server with "Client-side modding"

by rubenwardy » Tue Oct 04, 2016 20:18

No - Lua Sandboxing

When browsing the web, servers can (usually) run javascript code on your computer
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron