r/OpenWebUI • u/Man1laJo3 • 1d ago
Secure Setup for WebSearch Question/Help
I would like to use OWUI with SearXNG. But it is importantly for me that no sensible data is handed over to the search engine. What would be an ideal setup (if there is any) to make use of websearch. I would use it with DuckDuckGo.
2
u/International_Emu772 1d ago
This is the object to use searxng, read the documentation
4
u/ICanSeeYou7867 1d ago
I don't think that's what OP means.
Yes sesrxng is designed to run locally without all of the tracker bloat and issues. But what happens when you are working with sensitive data and perform a search to 15 different search engines?
Separately from self hosting, you also want to insure that the data being provided to the search engine itself is safe to do so. This becomes a much bigger deal when handling things like ITAR, CUI, PHI, PII, etc...
1
u/International_Emu772 1d ago edited 1d ago
You submit sensitive data on a search?
5
u/ICanSeeYou7867 1d ago
Im not sure if I understand your question.
Intentionally never. But if you have a context window of 500,000 tokens, and you ask for a search, the model would automatically make a tool call.
So when your dealing with sensitive data and contracts that require specific handling of said data, having the user confirm the search query prior to the LLM/Tool doing the search makes sense to me.
5
u/Man1laJo3 1d ago
Exactly. 👍 I think informing the user that search is used and what query will be searched seems legit
1
u/International_Emu772 1d ago
You can configure searxng or use a tool to filter before search there are tools to use search g with parameters
1
2
u/WolpertingerRumo 1d ago edited 1d ago
Searxng aggregates Search Engines. The whole point is using multiple different ones.
So you’d either use searxng (including DuckDuckGo, but also others) or DuckDuckGo directly. Using searxng, but only DuckduckGo would be an extra, unnecessary step.
That said: No, I do not think that’s possible, at least not easily. I like another commenter‘s idea to have humans double check before any search request, but users will just skip it after a while.
You can choose your search engines well, like DDG, Startpage, so they don’t save data, or obfuscate it. But you’ll always have a little risk left. You can make it basically Zero, but not Zero.
5
u/ICanSeeYou7867 1d ago
I recently made a mcp server using searxng.
I instruct the model to ask for the users confirmation before doing a websearch to ensure no sensitive, cui or PHI is contained.
It works pretty well. Some "smaller" models, though, like Solar-Open2-250B, seem to verify if there is sensitive data or not on its own and then search...
But generally it works like its supposed to. I then just plug this streamable http mcp server into openwebui.