Home Search Member List Faq Register Login  
UltimateSearch
Re: Only allowing certain users to see certain files

Thread Starter: e-phonk   Started: 07-11-2006 2:34 AM   Replies: 3
 Karamasoft Support Forums » General Discussions » UltimateSearch » Re: Only allowing certain users to see certain files
 Printable Version    « Previous Thread   Next Thread »
  11 Jul 2006, 2:34 AM
e-phonk is not online. Last active: 2/19/2007 6:26:45 AM e-phonk

Not Ranked
Joined on 07-11-2006
Posts 4
Only allowing certain users to see certain files
I'm developing a website that has a portion only available for registered users.
If a user has a valid login, it gets access to PDF files - and while the PDF files are in a public map, there is no way for them to retrieve the original URL (instead they have acces to a "download.aspx" page that sends the file to the browser).

Now I need to find a good solution so logged in users get a way to search the PDF files, without revealing the original URL.
1) I assume I can use the filterbyfiletype property to disallow showing PDF results for users that aren't logged in?
2) Can I make Ultimatesearch be aware of the documents, even if they aren't linked to in any way from the site.
3) Can I somehow change to resultURL?  If I could capture and replace the resultURL for each ResultEntry, I could remap it to go to the associated download.aspx page

Or are there other ways that I'm not seeing that could work for a scenario like this?

  
  12 Jul 2006, 1:26 AM
e-phonk is not online. Last active: 2/19/2007 6:26:45 AM e-phonk

Not Ranked
Joined on 07-11-2006
Posts 4
Re: Only allowing certain users to see certain files
No suggestions?

  
  12 Jul 2006, 10:36 AM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Only allowing certain users to see certain files
1. Yes, you can use FilterByFileType property to filter PDF results for certain users.
2. We are not sure if we stand this question but the answer might be to use scanDirectoryList in UltimateSearch.config and set scanDirectory to the directory for those specific documents.
3. You can use our Custom Output sample as a template to display the search results the way you need.

  
  13 Jul 2006, 1:55 AM
e-phonk is not online. Last active: 2/19/2007 6:26:45 AM e-phonk

Not Ranked
Joined on 07-11-2006
Posts 4
Re: Only allowing certain users to see certain files
Thanks for the reply, I'll look into the custom output sample!

  
 Page 1 of 1 (4 items)
Karamasoft Support Forums » General Discussions » UltimateSearch » Re: Only allowing certain users to see certain files

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2021 Karamasoft LLC. All rights reserved.