com object can't access local file system from web page
Posted on 2014-01-15
I have created a c# dll that is a com object. It is embedded on the webpage using the <object> tag. It works fine.
I now have a requirement to access a file in the program files folder that has some setup values, but I can't do it from a webpage on the server.
The dll is downloaded with a windows application and regasm is run prior to opening the website. The dll can access a database (from the web page). how can I grant permissions to the object that allows local file access? The access only needs to be read access.