We use the <identity> element in our web.config file and
it works great. When accessing SQL Server, we used to
have to either give the ASPNET account access or use SQL
Server authentication. Now we impersonate a special user
account and give it access only to what it needs. This
should also work for a COM component.
You can also set the identity of the COM component. We've
used this method as well. Create an account specifically
for the COM component and set its identity in Component
Services. That way ASPNET won't have access to your share
directly - it will have to use the COM component to gain
indirect access.
- Dave (MCP)
-----Original Message-----
I've tried changing these settings and it doesn't seem to
work.
Is there another way of doing this?
Bruce
.