Also, in your "WebViewer Developer Guide" you state:Offline mode makes use of IndexedDB or WebSQL depending on the browser. It can also make use of the HTML5 application cache to allow for (re)loading of the page completely offline.When the viewer is not in offline mode, where does it store the document? (after some tests I see that it writes somethings in IndexedDB, but I would like to know all possible cases)I need to secure the documents that are viewed, so that the user cannot get them (at least without major hacks).That's why I need to know where your viewer might save the document and if there is any case that is will save it there unencrypted while the server sends it encrypted.( Also, I will need to make ZIP AES 256 encryption work with your viewer, since it doesn't seem to work so far. :( )Thank you.2014-05-16 18:03 GMT+03:00 a a <kouko...@gmail.com>:Hi,Are there any news on this issue?Can I make this thing work?Sorry for being impatient.Also, another question I would like to ask is this:When the file gets downloaded and stored in the browser's database (IndexedDB or WebSQL) for offline viewing, is it stored encrypted in there (in the browser's DB) or unencrypted?Thank you.
Documents are encrypted with 128 bit AES (Advanced Encryption Standard), a specification from the National Institute of Standards and Technology (NIST), and is used by governments and businesses worldwide.
Also, another thing that I have noticed, that will certainly help some of your customers, is that -apparently- two encryptions of the same XOD file using the same password can (and do) produce different files.I have not verified this 100%, but it is the most logical explanation to the behaviour that I see.When the viewer requested byte-ranges from my controller action, I was watermarking and encrypting the the way you told me to (using XPS to XOD conversion) but the viewer displayed one or none pages correctly and then it showed an alert message "Invalid password of corrupt file.". Now that I cache the encrypted file in order to use it in all byte-range requests (and not re-build it from scratch), it seems that I see the encrypted document fine.For a long time I thought that sth was wrong with my byte-range request library (which turns out to be very good by the way): https://mvcresumingactions.codeplex.com/So, thank you and please don't forget to answer me concerning to :1) Where the viewer save the document on each case and if it saves it encrypted there.2) How can I avoid flushing my in-memory documents on disk to make the XPS to XOD conversion.Thanks a lot and sorry for bugging you so much.
2014-05-19 12:08 GMT+03:00 a a <kouko...@gmail.com>:
And another question:I don't seem to find any method that converts XPS to XOD that accepts the initial XPS/XOD file in memory.Is there any?I want to avoid flushing in-memory documents on disk to make the conversion.The ToXod() only gets a PDFDoc or a file path as input file arguments.Thank you.
Offline mode makes use of IndexedDB or WebSQL depending on the browser. It can also make use of the HTML5 application cache to allow for (re)loading of the page completely offline.
Hi,Are there any news on this issue?Can I make this thing work?Sorry for being impatient.Also, another question I would like to ask is this:When the file gets downloaded and stored in the browser's database (IndexedDB or WebSQL) for offline viewing, is it stored encrypted in there (in the browser's DB) or unencrypted?Thank you.
And another question:
I don't seem to find any method that converts XPS to XOD that accepts the initial XPS/XOD file in memory.Is there any?I want to avoid flushing in-memory documents on disk to make the conversion.The ToXod() only gets a PDFDoc or a file path as input file arguments.Thank you.