[Vtigercrm-developers] Anyone else seeing issues with PDF Preview in vt7? [SCAN_OK]

Conrado Maggi comaggi at gmail.com
Wed Aug 9 11:43:33 GMT 2017


I don't think the PDF viewer has access to vtiger backend.

If I understand correctly, the PDF viewer is a browser feature that
download the PDF and open it in a new tab

Or are you referring to something else?




El El lun, 7 ago 2017 a las 23:08, Alan Lord <alanslists at gmail.com>
escribió:

> That is a poor solution.
>
> So the PDF viewer is broken or you open up a security hole - lol.
>
> I hope that this is not the answer of the vtiger devs...
>
> The PDF Viewer is running inside the vtiger instance and should have
> access to the current user to authenticate access to the relevant file
> in the storage directory.
>
>
> Al
>
> On 07/08/17 20:43, Conrado Maggi wrote:
> > There is a htaccess file inside the storage sever that denied (403)
> > anything but  image file
> >
> > You could add PDF to this htaccess, although that makes PDF files
> > accessible from the internet to anyone that can guest the path
> >
> > It's a trade off between not exposing your data and use the browser PDF
> > preview
> >
> >
> >
> > El El lun, 7 ago 2017 a las 12:56,
> > <alanslists at gmail.com
> > <mailto:alanslists at gmail.com>> escribió:
> >
> >     We have a customer's installation where the Document preview option
> >     works for images but for PDF documents returns: > PDF.js v0.8.1269
> >     (build: 10deadd) > Message: Unexpected server response (403) while
> >     retrieving PDF
> >     "
> https://my.customers.domain.net/storage/2017/August/week1/3781_Customer-Details-Form_PDF.pdf
> ".
> >     Before I raise a bug can anyone else see if they are seeing this? We
> >     are on vt7.0.1. The previewer loads png images OK but can't seem to
> >     load any PDF records for preview. Issue happens in Document List
> >     view or from a Related List View of Documents. TIA Al
> >     _______________________________________________
> http://www.vtiger.com/
> >
> >     Si deseas dejar de recibir estos correos, por favor haz clic aquí
> >     <
> http://email.evosend.it/wf/unsubscribe?upn=E0wlXp7UC5NwGJ8F-2BqqpMAJVMRKnxZqJaP-2FkmhT4-2FCIbeTVoI3dz1p8iXBagDrD1TT7s025BOq6PtLTbyOFdulhAZlMBQr-2F-2Buwc4STW3u8VnvsOc3xv4CVJaCmPVo70WHsAltjG9ldSwk3w18qXrC3hsdXUeqUT4PeRJuQKCGhyDdrsSS-2F4Br4xAgfrJ-2F64KgK-2FgXYd-2BUhxD74G7qnK8hBFQpX3JFRRP5WVaNVIGo3OAxmaR-2BCfawHavjrXth2S9UyTMpV-2Bfd6yg1dzCWMLo-2FOKoqc4JmJaYSjwcmOSOXd4-3D
> >.
> >
> >     _______________________________________________
> >     http://www.vtiger.com/
> >
> >
> >
> > _______________________________________________
> > http://www.vtiger.com/
> >
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20170809/577ef518/attachment.html>


More information about the vtigercrm-developers mailing list