none
Prevent file content from editing dynamically RRS feed

  • Question

  • We have a requirement where users will upload microsoft documents though our application . On accessing those documents it should prevent users from editing/changing certain content. We have tried office javascript API and content control but the problem we are having is an Add-in should be developed and uploaded content has to be placed in the content control  and save the file .These process has to be done manually.

    IS there a option where i can pragmatically set some content read only when user upload the documents

    Wednesday, August 8, 2018 8:07 AM

All replies

  • Hello RamaniAnand,

    What application are you developing? Could you change the file extension temporarily to prevent user from editing the content?

    Best Regards,

    Terry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 9, 2018 3:04 AM
  • Hello terry

    Thanks for the reply . We were developing an document library management for one of our client .The requirement is users who have privileges to upload the document will upload some Microsoft documents .The users who have privileges to download the document will download the document but they cannot be edit or delete its content and reuse it .

    currently we are working with Content Control but the problem is that we have to create an Add-in for each Microsoft applications instead while uploading the document or after storing it in our server if we can make the content read only pragmatically that will be great 


    Thursday, August 9, 2018 6:10 AM