Skip to content

add configuration to set list of allowed clients by ip address #1

@dominikg

Description

@dominikg

Describe the problem

currently the vite devserver has no way to restrict which clients of a network it is available in can connect to it.

Describe the proposed solution

Add option to selectively allow which addresses are allowed to connect, default to local ones.

optional: implement a middleware for bluetooth like pairing so the dev doesn't have to figure out mobile device ips first.

maybe integrate with plugin-qrcode to render a code that gets a device on the allow list?

Alternatives considered

http basic auth is already implemented but random generated password gets in the way when browsers store the previous credentials and multiple different projects might be served on the same address over time.

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions