Just found a great KB article that explains how deal with all kinds of permission and identity issues when doing stuff from ASP.NET. I've highlighted the sections so you can see all the tasks that could use configurations:
INFO: Process and Request Identity in ASP.NET
- SUMMARY
- MORE INFORMATION
- Configure the Process Identity
- Default Permissions for the ASPNET Account
- Accessing Resources
- Using File Resources
- Enabling Impersonation
- Using Databases
- Using the Event Log
- Using System.DirectoryServices and Active Directory
- Using Performance Counters
- Starting Out-of-Process COM Servers
- Debugging Issues
- Running Code with a Fixed Identity
- Compiling Code-Behind Files on UNC Shares
- Using ASP.NET on a Primary or Backup Domain Controller
- Reading the IIS Metabase
- Using System.Management and WMI
- Interacting with the Desktop
- Removing ASP.NET
- REFERENCES