Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Quesion about the index directory security

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


brydoherty at gmail

Jul 1, 2009, 4:55 AM

Post #1 of 2 (252 views)
Permalink
Quesion about the index directory security

Currently I am using Sybase with Hibernate for my database needs. I've been
implementing Hibernate Search (HS) and it works very well. I use Sybase
because of the Row Level Security package. But that is suddenly not valid
when using HS because it blindly indexes the data. Is there a way to
simulate Row Level Access on that indexed data? Meaning when whatever class
talks to that directory, it would know about the current user and search the
indexed data. If a piece of data matches, the class would check the
permissions(just extra fields), and if the user does NOT have permissions to
view that piece of data, it wouldn't even leave the index directory.

I could implement something in Java land that would filter the data when it
is returned to whoever calls it but that goes against the security
requirements I am working with.

Thanks
Bryan


emmanuel at hibernate

Jul 1, 2009, 5:30 AM

Post #2 of 2 (222 views)
Permalink
Re: Quesion about the index directory security [In reply to]

Have you looked at the Hibernate Search declarative filter feature which
is some bells and whistles on top of the Lucene filter feature.

Typically you would keep the credential levels in the document and
filter by the user's credential.

On Wed, 2009-07-01 at 07:55 -0400, Bryan Doherty wrote:
> Currently I am using Sybase with Hibernate for my database needs. I've been
> implementing Hibernate Search (HS) and it works very well. I use Sybase
> because of the Row Level Security package. But that is suddenly not valid
> when using HS because it blindly indexes the data. Is there a way to
> simulate Row Level Access on that indexed data? Meaning when whatever class
> talks to that directory, it would know about the current user and search the
> indexed data. If a piece of data matches, the class would check the
> permissions(just extra fields), and if the user does NOT have permissions to
> view that piece of data, it wouldn't even leave the index directory.
>
> I could implement something in Java land that would filter the data when it
> is returned to whoever calls it but that goes against the security
> requirements I am working with.
>
> Thanks
> Bryan


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.