Skip to content

Feature Request: Permissions System for TCP Commands #1

@WlanKabL

Description

@WlanKabL

Description:
To enhance security and control over TCP commands, a permissions system should be implemented within the StageLightningControl plugin. This system would restrict access to specific commands, such as starting and stopping the TCP server or controlling SmartSwitch entities.

Potential Approaches:

  1. OwnerPlayer Restriction:

    • Only allow the _tcpOwnerPlayer who initiated the TCP connection to execute certain commands.
  2. Oxide Permissions System:

    • Integrate with the Oxide permissions system to create permission levels for different commands. This would allow server administrators to manage access control dynamically through Oxide.
  3. Secret Key Authentication:

    • Implement a secret key or token within the plugin. The client must provide this token to execute specific commands over TCP.

Benefits:

  • Enhanced security by limiting command execution to authorized users.
  • Flexibility in managing access through multiple approaches.

Implementing one or more of these approaches will provide better control and ensure that only trusted individuals can manage TCP connections and SmartSwitch commands.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions