[NEW PLUGIN] Pdf Viewer

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by cmb » Sun Dec 11, 2016 10:52 am

Tata wrote:
cmb wrote:And even then, anybody who's able to get the URL of the PDF is able to download it "manually".
By full names of the documents it's not very likely to write the path correctly.
One does not even have to write the path. Clicking on the URL in the browser's development tools suffices, for instance. Note that there is no protection from downloading anything that is presented as IFrame. But as you've already mentionend, there are other techniques which can be sufficient.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by Tata » Sun Dec 11, 2016 11:00 am

cmb wrote:there are other techniques which can be sufficient.
Definitely. There is so much on the internet, and there are so many experts out there, and there are thousands of others paid for monitoring of any sort and for collecting info about each of us, that thinking paranoically about any protecting tool is pure waste of time.
BIG BROTHER IS WATCHING... :ugeek:
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by Tata » Wed Mar 15, 2017 9:30 pm

Nach zwei Wochen, wo alles gut lief, gab mir heute der PDFviewer
failed to copy protected/Spracovanie a Ochrana osobných údajov to tmp/1489612826.pdf
Und unter Nore information selbstverständlich
PDF.js v1.4.20 (build: b15f335)
Message: Missing PDF "http://skindu.cmsimple.sk/userfiles/dow ... 612826.pdf".
Das einzige Änderung war Downloadcontroll statt DLcounter. Das hat es aber wohl nicht verursacht. Ich schaue noch Morgen, ob es wieder mit OPCache nicht zu tun hat.
EDIT 00:10
DLcontrol blokiert, keine Änderung. Die Dateien zu "OhneSpezChar" umgenannt - keine Änderung. Aus der Protected in Downloads verschoben - auch nichts. Immer problem mit in-temp-Speichern.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by cmb » Thu Mar 16, 2017 3:12 pm

Tata wrote:Immer problem mit in-temp-Speichern.
Hat der Ordner volle Berechtigungen, also 0777?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by Tata » Thu Mar 16, 2017 10:33 pm

Bis jetzt hatte ich die Rechte vom Server selbst standard voreingestellt. Die Dateien 644 und die Folder 755. Alles hat auch gut funktioniert. Doch ist gestern etwas falsch gelaufen. Nichts hat sich geändert auch nachdem ich die Rechte umgestellt habe. Ich vermute, dass es die jQuerry Versionen verurschachen könnten. Wegen Etwas müsste ich die ältere Versionen einstellen, sonst (ein der Plugins funktionierte nicht - ich erinnere nicht mehr was das war). Aber egal. Ich habe einiges auf der Seite vereinfacht und so wird es wohl ohne Überraschungen laufen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by cmb » Thu Mar 16, 2017 11:11 pm

Tata wrote:Ich vermute, dass es die jQuerry Versionen verurschachen könnten.
Hm, der oben genannte Fehler:
Tata wrote:failed to copy protected/Spracovanie a Ochrana osobných údajov to tmp/1489612826.pdf
hat höchst wahrscheinlich nichts mit jQuery zu tun. Entweder stimmt was mit den Pfadangaben/Dateinamen nicht, oder es liegt an fehlenden Schreib-/Zugriffsrechten – jedenfalls sieht es sehr danach aus.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [NEW PLUGIN] Pdf Viewer

Post by Tata » Thu Mar 16, 2017 11:30 pm

cmb wrote:...Entweder stimmt was mit den Pfadangaben/Dateinamen nicht, oder es liegt an fehlenden Schreib-/Zugriffsrechten – jedenfalls sieht es sehr danach aus.
Kann schon sein, aber ich verstehe es nicht, weil alles funktionierte 100%-lich. Dann habe ich testweise dlcounter und dann downloadcontroll installiert und dann wieder entfernt. Dass hat aber nicht mit pdfviewer zu tun and hat auch nichts mit der Seiten, wo es aufgerufen war, zu tun. Und dann plötztlich sah ich die Meldungen. Nachdem ich die pdfDateien zu einwörtlichen umgenannt habe (ohne Sonderzeichen), hat es auch eine Weile wieder Funktioniert. Dann gab ich zurück die Originelle Dateien and nach dem Refresh funktionierte es wieder, aber nur einmal. Dann war wieder die Meldung da.
Ich versuche es am Localhost tiefer testen und rausfinden, ob es mit einem der instellierten Plugins nichts zu tun hat.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply