Password feature?

Hello Community!

I have been using Panel to create a UI dashboard for my project and have been enjoying it.

I am trying to make my dashboard public, or at least accessible to a specific group, while ensuring that only those with permission can access it. Ideally, I would like to make the dashboard available to the group but restrict access to a pre-specified set of people by providing them with a password.

I was wondering if there is a feature in Panel that allows for password protection of the dashboard.

The ideal outcome would be for the first page or a pop-up from my dashboard to prompt users to enter a password. Upon entering the correct password, they would gain access to the dashboard and be able to interact with it.

Is this something feasible to implement within the Panel library?

Best regards,
Simon

Check out
https://panel.holoviz.org/how_to/authentication/

Hi! :wave: OAuth is great and nice to work with for individual identities in the documentation that was recommended (that’s a powerful solution)—and likely the best option. But, If you don’t want to setup the provider and deal with client ids and secrets right now, you can simply create a big if statement around your entire panel UI components except the main layout and then check the query string for a password or code/uuid before adding the UI comments to the main layout pane or get even more fancy and send up the panel UI components in the layout to collect the password and then validate the password on a click event that then adds the UI components you want to display to the main layout this is fairly safe because Pavel is primarily a Server side framework that wraps other HTML/JavaScript maintained components.

Lots of flexibility in this Panel UI world for signing in and getting data from users.