How to block the copy and paste in Group docs.Viewer in .net

Hi,


We are trying to make more security for our company forms and documents from users. We do not allow the users to download, print and copy n paste. We have blocked the download and print with use of your properties. But we could not block the copy and paste(Using ctrl +A and Ctrl + c) from the viewer. If any possible way to block this kindly guide to test this. We are waiting for your positive guidelines.
Thanking you

Rasith

Hi,


Thank you for your interest in GroupDocs. The user doesn’t able to copy the text from the document when it opened in the Viewer.

Best regards.

Hi,


Thanks for your response. On top of viewer we could not do Ctrl + A and C. But we can do Ctrl + A and C for whole html. Kindly help for this to avoid. Now we have blocked the ctrl key activities in script side.

And one more query, we are doing this for our document security purpose. But after viewing we can view the document and save that via inspect element div. If any possible way is there to block that or hide it.

We are waiting for your quick response.

Thanks
Diwan

Hi Diwan,


Thank you for coming back. Disable html copying doesn’t related to the Viewer functional - since that please search the Internet for the guide, for example you can check this.

As for the second question - sorry but can you please provide more info about and the screenshots.

Thank you.

Hi,


In trial version can we create only first two pages of any document?. How can i increase?.
If we are passing .docx we are getting Invalid file type error?.
Kindly guide us.

Regards
Diwan

Hi Diwan,


Thank you for these questions. You can get a trial license - please follow this guide to get it.

As for the issue with the docx - which version of the library you use?

Thank you.

Hi Diwan,


Thanks for raising your issue.

If we are passing .docx we are getting Invalid file type error?.

Can you please provide us following details to reproduce your issue?

  1. Screenshot/details of the exception
  2. Minimal source code where exception occurred
  3. Problematic file

We shall be waiting for your response.

Warm Regards

Hi,


Thanks for your response. We are using 3.4.0.0 version.

Regards
Diwan