Author Topic: List file office have security : document safer  (Read 69 times)

0 Members and 1 Guest are viewing this topic.

Offline kckmxv

  • Occasional poster
  • *
  • Posts: 1
    • View Profile
List file office have security : document safer
« on: January 01, 2018, 11:38:47 PM »
Hfs can not list file office have security : document safer

how to display it?

Thanks you vary much!

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 716
  • Country: us
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: List file office have security : document safer
« Reply #1 on: January 12, 2018, 10:15:45 PM »
lolz, what in the world are you talking about?

are you trying to use hfs and do a file listing of ofice documents?
are you trying to have a document apear in a web page?

what do you maen hfs can\;t list file "office"
https://stackoverflow.com/questions/5565759/how-to-embed-a-document-in-html-page

usualy you have to define the document your using as a text/html
by addind the file extention to a application

Set mime type example pdf:
https://msdn.microsoft.com/en-us/library/bb742440.aspx

so extenion would be: *.pdf
adn application (steream/html encoding): application/pdf

then disaply the file on the webpage via html coding example:
Code: [Select]
<iframe src="somepage.pdf"></iframe>
also info on PDF can be found here:
http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/
Quote:
PDF:
To use a pdf in a web browser you will need this software:
http://filehippo.com/download_adobe_reader/

now for the html code:
a real folder with your "*.pdf" file in it
right mouse click "properties" the pdf folder > different templates tab

put this html code in:

-------
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PDF SAMPLE</title>
</head>
<body>
<br />
<embed width="100%" height="700" name="plugin" Title="Resume" src="http://192.168.1.254/pdf/sample.pdf" type="application/pdf">
<br />
</body>
</html>
--------

You will need to setup the pdf document to be view able in a web page:
-----
http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html

http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f52.w.html

Edit > Prefference > Documents > (make sure htis box is checed)! Save as optimizes for Fast Web View

File > save as > same file it enables the web code in the pdf...
-----
now open http://192.168.1.254/pdf/sample.pdf
(assume you have adobe reader installed... the pdf is now displayed in the browser...)
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1