[TYPO3-Solr] solrfal and fal_securedownload

Robert W rewebit at gmail.com
Mon Feb 23 16:58:01 CET 2015


Hello,

We have been using Solrfal to index documents in the TYPO3 backend and it works great. We want to secure documents to specific users. So that logged in users can find secured documents in a search, but access to the documents can not be provided to others. To this end, we have implemented extension fal_securedownload.

At first we noticed that the URL which is displayed in the search results for a logged in user was not correct. In looking at the index generated, there is no Content or Teaser text for documents which reside in the secured folder. Below are snippets out of the index.

Could someone perhaps provide guidance on where to start digging? (solr, solrfal, fal_securedownload)  Thank you. 

-Robert



        "title": "applepie.docx",
        "fileStorage": 2,
        "fileUid": 4617,
        "fileMimeType": "application/msword",
        "fileName": "applepie.docx",
        "fileSha1": "7fba41271d11029b761348fa1b57c7c613e44233",
        "filePublicUrl": "ajax.php?ajaxID=FalSecuredownload%3A%3ApublicUrl&ajaxToken=e362724a2859d223a79cc61fc0708c50ac0ceca1&eID=dumpFile&t=f&f=4617&token=db225b270cb721372a7e12a0bd982e465c201c9a",
        "url": "ajax.php?ajaxID=FalSecuredownload%3A%3ApublicUrl&ajaxToken=e362724a2859d223a79cc61fc0708c50ac0ceca1&eID=dumpFile&t=f&f=4617&token=db225b270cb721372a7e12a0bd982e465c201c9a",
        "access": "205:1/c:1",
        "id": "dd2e9ea387b818ee15525a986b5d693e1ac79502/tx_solr_file/4617/e29e14932cab011e34ceeadf30655ea8",
        "site": "adventist.sdh",
        "type": "tx_solr_file",
        "content": "",
        "teaser": "",
        "description": "",


        "title": "english.docx",
        "fileStorage": 1,
        "fileUid": 4494,
        "fileMimeType": "application/msword",
        "fileName": "english.docx",
        "filePublicUrl": "fileadmin/adventist.org/files/content/english.docx",
        "url": "fileadmin/adventist.org/files/content/english.docx",
        "access": "c:0",
        "id": "dd2e9ea387b818ee15525a986b5d693e1ac79502/tx_solr_file/4494/13efcd41224105fb62ecaf674c14cd54",
        "site": "adventist.sdh",
        "type": "tx_solr_file",
        "content": "The...[content abbreviated]",
        "teaser": "The...[content abbreviated]",
        "description": "",



More information about the TYPO3-project-solr mailing list