Forum

> > CS2D > Servers > Server Hosting
Forums overviewCS2D overview Servers overviewLog in to reply

English Server Hosting

5 replies
To the start Previous 1 Next To the start

old Server Hosting

Marcell
Super User Off Offline

Quote
Hello!

I have a problem, that actually Yates already cleared before, but still there is no way how we could fix it.

Yates has written
How will you protect servers from each other Lua based? Linux permissions can't stop Lua from going outside its own directory and into another.

Say I find out what dir a client uses, I could basically ruin their whole server without you knowing.

Just asking, I never was able to resolve that.


So do you have may any clue?

Some linux pro?

old Re: Server Hosting

Yates
Reviewer Off Offline

Quote
Just realised, what about chroot?

Never tried it. So you'll have to play around.

old Re: Server Hosting

_Yank
User Off Offline

Quote
Why don't you change permissions dynamically ? I mean, give the executables the execute permissions when starting the server on (lets say, web admin panel) and then remove them. Maybe that way it could work, unless lua has su power (if I remember).

BTW, I think that this title isn't the best if you're seeking for help.

old Re: Server Hosting

Livia
User Off Offline

Quote
Run each game server as a different user and limit their access accordingly. In case you need even more isolation look for linux containers.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview