Eevee204 Posted July 28, 2012 Author Share Posted July 28, 2012 Hello,I was just wondering how I could go about making a user an admin using the control panel on the main client instead of the server.Thanks Link to comment Share on other sites More sharing options...
Exception Posted July 28, 2012 Share Posted July 28, 2012 I would assume that this wasn't added for a VERY good reason.You should think about that reason, mainly exploits and security.But, if you **really must** add it, it's a simple matter of making a new packet from the client to the server, where the server handles the change of access. It would also be very wise to add an "If Player(Index).Access <= Certain admin level here, Exit out of here" in both the client and the server, just for extra precaution.Just to try and persuade you to not use this, think about if you REALLY need this, and if this is just a matter of overcoming laziness. Link to comment Share on other sites More sharing options...
Eevee204 Posted July 28, 2012 Author Share Posted July 28, 2012 Well, I did spend some time thinking about it, since I'm releasing the game without any money for a VPS, I friend is hosting it until we do hopefully make some money, and since we don't all have access to he's desktop, we're not able to make anyone an up rank until we get a VPS, so maybe once we get a VPS we'll remove it, but until then we all need access. Link to comment Share on other sites More sharing options...
Exception Posted July 28, 2012 Share Posted July 28, 2012 Then just create all of the required accounts beforehand, and set them all to the required access. No need to compromise security. Link to comment Share on other sites More sharing options...
Eevee204 Posted July 28, 2012 Author Share Posted July 28, 2012 Well I've set up more than 1 player right, I've got a donator rank which players can purchase and only set this to work on the server at the minute, why I want to put it onto the client.How does it bring up security issues? Link to comment Share on other sites More sharing options...
Exception Posted July 28, 2012 Share Posted July 28, 2012 Oh, a donator rank. That's completely different, the worst that can happen is somebody can set themselves to it.As for admin, if you failed to put the right checks in place on the server, anybody who knew what they were doing could easily set themselves to admins, and obliterate any of your content, which is why it's generally not a good idea to leave something even remotely open when it comes to the likes of access levels. Link to comment Share on other sites More sharing options...
Eevee204 Posted July 29, 2012 Author Share Posted July 29, 2012 Oh right I see, yeah I used admin as an example sorry, I wouldn't place that on there, I don't even allow the graphic artist of my team to have an admin rank! But thanks for the advise anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now