ISISComputingGroup / ISISComputingGroup/IBEX
Script Server: Client access security
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 6
- Fork
- 2
- Merge medio
- 16h 40m
- PR unite (30g)
- 2
Descrizione
At the moment, the script server password is hard coded within the GUI. When the server goes live, we don't want everyone with a client to have access to an instrument. We would also like to avoid distributing passwords.
Currently we restrict write-access to instruments access to clients on the same subnet. It seems sensible to use the same principle for the GUI. To achieve this, we can create an auto-generated PV with gateway access configured so that it is visible only from the same subnet as the server. The client will then only be able to obtain the password and connect to the script server if they are on the correct subnet.
In addition to this, the content of the PV can be auto-refreshed periodically to improve security further. This shouldn't have any meaningful impact on client-server communication.
Acceptance criteria:
- [ ] A PV exists containing a secure password that is auto-generated for each instrument.
- [ ] The PV is used for the Nicos passwords and the GUI
- [ ] The PV is readable only from the same subnet as the instrument server
- [ ] The PV is refreshed periodically. Check that this change is registered by both the client and server
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by tracing how the script server, GUI, and Nicos passwords currently obtain and use the hard-coded password. Then inspect the existing PV and gateway access patterns for same-subnet visibility. Done means an auto-generated, periodically refreshed PV is used by both client and server, is readable only from the instrument server's subnet, and refresh changes are registered by both sides.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- backend, networking, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100