I have created a visual web part and placed it in my sharepoint site.
This web part accesses and displays data from an excel file on my network, an example directory is \\server1\files\file.xls
I can get this to work by applying read access to 'everyone' in the domain.
I want to lock this file down so only the sharepoint site can access this data, and everyone else unable to access it outside of the sharepoint site.
My question here is basically: what default user account on my domain does sharepoint use?
If i can find this out, i can apply read permissions to this account without having to apply it to all users.
Thanks Kyle
You should try to apply read permissions to the account that is used as application pool identity for your SharePoint web application. You can find this account in IIS Manager.