#Admin panel safety

1 messages · Page 1 of 1 (latest)

mighty roost
#

I have a admin panel system. Is this safe to make sure no exploiters can access the gui?

game.Players.PlayerAdded:Connect(function(plr)
local ui = game.ServerStorage.UI.AdminPanel

if plr.UserId == 1486646411 then
    ui:Clone().Parent = plr.PlayerGui
    print("Admin Panel Loaded")
end

end)

wary warren
#

Exploiters could probably not access the gui but if you use remote events to connect the input from the Admin Panel be always sure to recheck information on the server as i am pretty sure exploiters can spam remote events. Correct me if im wrong tho.

swift magnetBOT
#

studio** You are now Level 8! **studio

mild birch
mighty roost
#

so I think its impossible to access

#

and even if they can access it it checks again

#

first check whenever a event is fired through the panel is if plr.UserId == 1486646411 then

mild birch
#

ohh I see

#

mb

mighty roost
# mild birch ohh I see

Since the serverside has access to playergui I thought it would be safe to add it in straight from a serverscript

brave blade
#

as long as you do server-side checks to verify that the user sending the request is permitted, you should be good.

fringe monolith
#

@brave blade @mild birch @mighty roost But can't exploiters pass a different player? like can't they pass a player instance, get the game owner's ID and just add it to the player instance passed to the server?

#

I'm asking bc I know of a game that had trouble with this trading system because exploiters were accepting trades as if they were the other player

mighty roost
mild birch
blissful sigil
#

You can't trick your player id.

mighty roost
mild birch
# blissful sigil No?

I’m pretty sure that if you reverse-engineer the Roblox client and intercept or modify how remote events are sent, you might be able to impersonate another “player.” However, those communications are probably encrypted, and the server likely uses a key that attackers don’t have, so they can’t decrypt or forge valid packets. In other words, I doubt this is possible in practice - if it were, it would likely already be a thing.

regal cipher
#

This sanity check is already good

mild birch