Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > How to access to SQL with Integrated Security from ASP.Net app

Thread Tools

How to access to SQL with Integrated Security from ASP.Net app

Davide Bedin
Posts: n/a
I'm trying to use impersonation for a specific account in order to access
SQL with Integrated Security

This account is member of the domain users and has access to the SQL
The <process model> in machine.config on the server is SYSTEM so I suppose
it has sufficient rights to impersonate a user.

When I try to access the application I get an UnauthorizedAccessException
telling that the user hasn't access to
C:\winnt\\framework\v1.1.4322\tempora ry files\control
codes\5753d30e\430de296\hash.web is denied.

Have I to set any special right to the user I'm impersonating in order to
use the application? If I impersonate a user that is member of the domain
administrators group everything works fine, obviously.

Thanks in advance,
Davide Bedin

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
SQL Session State, Integrated Security, and Impersonation Brian ASP .Net 1 05-04-2005 05:45 PM
Impersonation and integrated security (+sql server reporting servi Phil Aldis ASP .Net Security 3 08-16-2004 08:45 PM
Using Integrated Security for Accessing SQL on Remote Server eRic ASP .Net Security 6 03-05-2004 02:04 AM
Setting up integrated security to SQL Server Dave ASP .Net 1 08-11-2003 03:23 PM