Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we secure self hosted promptfoo server? #801

Open
harshaa947 opened this issue May 20, 2024 · 1 comment
Open

How can we secure self hosted promptfoo server? #801

harshaa947 opened this issue May 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@harshaa947
Copy link

Request for shareable URL is done without any authentication config.

const response = await fetchWithProxy(`${apiBaseUrl}/api/eval`, {

@efung
Copy link
Contributor

efung commented Jun 20, 2024

Alternatively, is there a way we can pass headers to the client used to talk to the server?

For example, if our self-hosted server is behind something that implements Basic Auth, we could configure the HTTP headers sent by the promptfoo client to pass the authentication secret.

@typpo typpo added the question Further information is requested label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants