Security on COJ

Feel free to ask any questions related to the COJ.
Post Reply
mgear
Posts: 4
Joined: 6 years ago
Gender: None specified

Security on COJ

Post by mgear » 6 years ago

Hello, I have a question about COJ's security, what preventions do languages like C/C++ and Java use so that users do not damage the server when sending codes? for example: prohibiting sockets and stuff like that.



User avatar
ymondelo20
Posts: 1968
Joined: 7 years ago
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: Security on COJ

Post by ymondelo20 » 6 years ago

The qualifying application has only the privileges required to do so (although it was in the code, the program could not manipulate memory, file system, open network connections, etc). In addition, some functions identified as potentially dangerous, are identified in advance: so you get an "Invalid Function" veredict fron the Judge.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. ;)

mgear
Posts: 4
Joined: 6 years ago
Gender: None specified

Re: Security on COJ

Post by mgear » 5 years ago

Ooo then to make that, does the server uses a sandbox?

Post Reply

Return to “FAQ”