This project has moved and is read-only. For the latest updates, please go here.

Load file readonly

May 14, 2012 at 12:22 PM

DocX.Load method requires readwrite permissions for docx file - it is not required and in iis environment can harm. Needed change is small:

public static DocX Load(string filename)
        {
<SKIPPED>

            using (FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read))
<SKIPPED>
        }