Is it possible to use full text search on encrypted column in SQL Server 2008

拥有回忆 提交于 2019-12-10 23:25:32

问题


I have a column, that is encrypted using symmetric key in a database. An encrypted content is just a text. I would like to query this text using full text search. Is it possible? I was thinking about using full text search filters to index a column, but didn't find any ready-to-use filter. So is it possible to develop such a filter, in particular, is it possible to access encryption key, that is stored in a database, from filter code and decrypt the text from the column? Could you recommend any tutorial, how to start with such a development?


回答1:


From what I understand, there is no support for encrypted indexes. You basically have two options:

  1. You can index partial data in clear (without encryption) and match the partial data to the fully encrypted data.
  2. Decrypt the data before searching

Although this post was for SQL Server 2005, it remains true for SQL Server 2008.



来源:https://stackoverflow.com/questions/4312807/is-it-possible-to-use-full-text-search-on-encrypted-column-in-sql-server-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!