Yao_Pan
(Yao Pan)
November 16, 2020, 10:11am
1
I need to encrypt Elasticsearch document source content for security.
The final effect to be achieved is as follows:
input:
{
"title":"you know, for search",
"viewcount": 20
}
In es:
{
"title": "zpv!lopx-!gps!tfbsdi", // whatever, encrypted title
"viewcount": ☯ // whatever, encrypted viewcount
}
dadoonet
(David Pilato)
November 16, 2020, 10:25am
2
But it won't be searchable?
There's nothing in Elasticsearch which will encrypt the json content of your documents.
1 Like
Yao_Pan
(Yao Pan)
November 16, 2020, 11:17am
3
I have developed a security token filter ,use encrypted term to search the inverted index, and the term in the inverted index is also encrypted.
warkolm
(Mark Walkom)
November 17, 2020, 12:21am
4
This is something you would need to handle outside of Elasticsearch at this stage.
system
(system)
Closed
December 15, 2020, 12:21am
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.