Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Dashboard Protect/Disable

Discussion in 'Unity Accelerator' started by h1r0sh1ma, Jan 17, 2022.

  1. h1r0sh1ma

    h1r0sh1ma

    Joined:
    Jan 20, 2021
    Posts:
    5
    Hello, Guys
    Is it possible to protect The Dashboard? By protection i mean not only to password logs and configuration locations, but the whole thing?
    And if its not possible - maybe there is a way to disable the Dashboard at all?

    I also want to add (Dunno if its a bug or a feature)
    despite my user section in dashboard json file looks like this:
    Code (Boo):
    1. "test" : {
    2.       "PasswordBcrypt" : "Hash",
    3.       "Login" : "test",
    4.       "Rank" : 0,
    5.       "Admin" : false
    6. }
    test user still has admin privileges (edit config, restart service) in Dashboard.

    Accelerator Version : v1.0.941+g6b39b61
    Thanks in advance.
     
    Last edited: Jan 18, 2022
  2. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18
    The Admin flag is currently not used. The dashboard is protected by a user login. There's currently no option to disable the Dashboard, but you may be able to set your firewall to block unwanted access.
     
  3. h1r0sh1ma

    h1r0sh1ma

    Joined:
    Jan 20, 2021
    Posts:
    5
    The whole Dashboard is protected or just the Configuration and Logs locations?
    What about
    https://dashboard-url: protobuff_port/dashboard/#/metrics-page/
    https://dashboard-url: protobuff_port/metrics
    those seems to be exposed to everyone

    Please correct me if im wrong.
    Thanks in advance
     
    Last edited: Jan 21, 2022
  4. kirkchen

    kirkchen

    Unity Technologies

    Joined:
    May 18, 2018
    Posts:
    18