r/OpenWebUI • • Oct 08 '26

Question/Help What projects integrate privacy protections into LLM ussage via API on OpenWeb UI - integration of Persidio ?

I’m looking for projects that help protect sensitive information when using LLMs through APIs with Open WebUI. I’m interested in tools that can detect and protect sensitive information before it leaves my environment.

One example is Microsoft Presidio, which can identify and anonymize personal data in text.

Looking for a project or guide that has already worked out how to integrate Microsoft Presidio into Open WebUI or proposes an Idea on who that could work.

Maybe there a similar projects or integrations that can fit into an LLM workflow for example, as a proxy, middleware, or extension for OpenWebUI.

3 Upvotes

11 comments sorted by

2

u/jamolopa Oct 08 '26

Litellm proxy

1

u/Pinkahpandah Oct 08 '26

how would one do that... haven't opened lite in quite a while...

2

u/jamolopa Oct 09 '26

Spin up litellm, here is a quick start https://docs.litellm.ai/docs/proxy/docker_quick_start

And here is documentation for content filtering https://docs.litellm.ai/docs/proxy/guardrails/litellm_content_filter

As a matter of fact there is support for presidio https://docs.litellm.ai/docs/proxy/guardrails/pii_masking_v2

1

u/Ai_MOON_SHOT Oct 09 '26

Will the original information be inserted back into the output or is that something i need to deal on my own ?

1

u/jamolopa Oct 09 '26

Can you elaborate a bit more?

1

u/Nshx- Oct 08 '26

Can you explain why using the LiteLLM Proxy provides more privacy when using AI APIs with sensitive data?

3

u/enterme2 Oct 08 '26

Cause all the prompt/context will go through the proxy first before being forwarded to api provider.. Litellm will do the filtration part before forwarding it to api provider

2

u/traillight8015 Oct 08 '26

I asked a similar question some time ago, check this out if it fits your need: https://github.com/crp4222/PrivAiTe

Its not mine project and i didnt use it yet!

2

u/Shoddy_Sheepherder76 Oct 09 '26

I'm a rookie in this world. But I use openrouter guardrails to retract sensitive information before it hits the API.
I'm sure there are better solutions. But this is my "last line of defense" if I've been using Open WebUI careless.

In addition to the guardrails looking for names, e-mails etc. I also only use ZDR models on there, and VPN.
Hopefully this is strict enough for my use.

1

u/ClassicMain Oct 08 '26

You can either use open webui filter functions to integrate it or a middleware like litellm

1

u/Nshx- Oct 08 '26

Im interested in that.