Search code examples
internet-explorerfile-ioadd-onprotected-mode

Does internet explorer running in protected mode allows full read access to the user's "My Documents" folder?


I'm currently developing an IE add-on that needs to read some existing files under the "My Documents" from the current user's profile.

If IE is running in protected mode:

  • what care should be taken to always be able to read those files?
  • does the virtualization mechanism affects file reads besides writes?

Thank you very much.


Solution

  • Have a look at Understanding and Working in Protected Mode. When running in Protected Mode, IE is running as a low integrity process. Low integrity processes can only write to low integrity write locations. I think you should be able to read from My Documents, as long as the user has normal permissions to read from there.

    Just go ahead and write the code and try it. If you encounter specific problems I would come back and ask those as a separate question.