View previous topic :: View next topic |
Author |
Message |
nosit1
|
Posted: Mon Dec 17, 2007 6:36 am Post subject: User Permissions |
|
|
Is there a way to isolate a user to a server (or 3 servers how many ever), allow them to change the configs, but can't create new CSS servers or view other users servers? |
|
Back to top |
|
|
adbot
|
Posted: Thu Mar 31, 2011 3:57 am |
|
|
|
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 8:11 am Post subject: |
|
|
Yes, just give them permission to that server (or Servers of Game) without the 'New' permission flag. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 8:28 am Post subject: |
|
|
Will they not be able to see the other people's servers? |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 8:32 am Post subject: |
|
|
No.
The only reason people can see other peoples servers (as you put it) is because they have Permission to do so.
If this is a rental customer environment, you should just create them a subdomain instead.
Play with the permissions by creating a few user accounts and setting the appropriate permissions and seeing how they look to that other user. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 9:02 am Post subject: |
|
|
Another thing, I'm running the temporary servers script. Is there a way when a temporary server is created that it can allow for FTP access to the files? |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 12:08 pm Post subject: |
|
|
If you gave the appropriate user permission to the temporary server - maybe - would need to see if it worked.
If you give the user Permission to (for example) Read all Battlefield 2 servers (Battlefield 2 Permissions tab) they can FTP to any temporary server. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 1:23 pm Post subject: |
|
|
Another thing.
Is there a way to make external bookings create a temporary account with enough permissions to login and change around some configs and start and stop it. |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 1:26 pm Post subject: |
|
|
Why are you wanting to do it that way?
Users can create their own temporary bookings - visit /bookings instead of /admin to let them make their own.
Or integrate the booking page on your website via the left hand menu (Download option) |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 1:32 pm Post subject: |
|
|
Like this:
User goes to site
Books server and fills in the server details
Also fills in temporary login information
Server gets created at time when they wanted
User is created
User can login and change temporary configs, restart server, etc.
Once time is done, login is expired and gets deleted
|
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 1:38 pm Post subject: |
|
|
Allowing (random) users to FTP to the server host can be considered a security risk - you're allowing a random person to get to the server and upload files.
The game install would be shared with other temporary servers being run at the same time.
Users can choose their server settings during the server details setup step on the booking screen.
Uploading configuration files is an old way of doing things - you should instead be allowing users to just use the easy GUI to choose the map, etc, to play and let the server handle the rest. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 1:43 pm Post subject: |
|
|
Okay, then can I have an assortment of "packages" that the user can select as addons to their server. Like say I have X Admin Mod; the booker checks the box and the addons stored somewhere is installed to the temporary server? |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 1:46 pm Post subject: |
|
|
Perhaps, you would need to figure this out yourself - I don't have extensive experience with Counter-Strike and its plugins.
I know though you can probably unload them via the configuration file and do the unload (or load) via config options if a given checkbox is checked etc.
Experiment. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 1:52 pm Post subject: |
|
|
Andrew wrote: | Perhaps, you would need to figure this out yourself - I don't have extensive experience with Counter-Strike and its plugins.
I know though you can probably unload them via the configuration file and do the unload (or load) via config options if a given checkbox is checked etc.
Experiment. | This isn't more for CSS, any game. Given say a folder with the correct structure of the game, it would download the files and place them in the root folder. |
|
Back to top |
|
|
nosit1
|
Posted: Mon Dec 17, 2007 2:16 pm Post subject: |
|
|
I think I have what I want now.
Thing now is with the FTP. I have the FTP enabled but when I go to login from the server page, I get:
503 - Attempting Authentication
503 - Sorry, you don't have access to this host. |
|
Back to top |
|
|
Andrew Mammoth
|
Posted: Mon Dec 17, 2007 2:16 pm Post subject: |
|
|
Most games allow you to decide what mod/s to load based on the configuration file or command line.
Decide what appears in the config file/command line by checking which boxes were checked on the booking details page. |
|
Back to top |
|
|
|