Intranet search engine. Users should only see results they have access to.
Posted on 2004-12-01
I'm working on a little search engine project. The search engine should indicate all files (through a samba share) stored in the file server (Linux). The users (WinXP/Linux) should have the ability to search in this index via a JSP. After the search is complete, the users get a list with some links, so they are able to access the files with just a klick on it. But, of course, the users should only receive links of files they have access to. And exactly this is my problem. How is it possible to check the file permissions?
Is it possible to use WebDAV?
Should I use some C funtions and JNI?
Every suggestion is welcome.