This could be easy as adding a password argument to lightpanda serve or as advanced as a server that could be sent some kind of token to validate it
I know this is on cloud.lightpanda.io but I'm not sure if this is in lightpanda's source itself anywhere (and if it is, I'm not sure how to use it)