asp.net - Convert from Office Docs / PDFS to HTML -


I am currently working on a project where I have to secure access to downloadable files. The solution I want to apply is that each document has two buttons. One that says editable and others will work normally, with the opening of the browser dialog to open / save an editable document, they will look at either one or both of them (read based on users' permission) The read-only button needs to open the document without caching anything (without the temporary internet files) for security reasons on the client's machine or this Give the ability to save in your local machine.

I have the best idea for this, to convert the document to HTML on the fly and then redirect the user to this page. Then we can stop caching on the site so that the HTML can not be cached (I know that they can right-click and save the HTML or make a copy of the text. But it has been considered acceptable. )

Does anyone have an alternative solution (or is this an easy way that can be achieved)?

I do not want to set up the office on the web server or want to pay heavily for something like a third party device.

Can anyone recommend ideas? Instead of converting, create a new aspx file on the fly and render or the necessary content there.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -