473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with ASP.NET Delegation and Impersonation

jm
I promise. I have tried everything I could find.

http://msdn.microsoft.com/library/de...SecNetHT05.asp

(and much more)

I have an asp (not .net) page on a server which is not a domain
controller (2003 server in a 2000 forest). The asp page on the server
hits a database on another server. For whatever reason, I either get
invalid path when I use a DSN or opened exclusively or permission
needed when using the UNC \\... Because the webpages are on a
non-domain controller, this causes problems.

I thought that by using delegation, I could delegate/trust the
computer (which is in the domain, but not a DC), trust the account
using the webpage, and I even trust the IUSR_computer that I created
(since it is not part of the domain; but the page uses integrated
authentication anyway.

I hope this makes sense. I cannot get the ODBC or the UNC to extract
data from the database on the remote server in the same domain.
Thanks for guidance.
Nov 18 '05 #1
1 1137
delegation only works with digest, not integrated security. also for
security, delegation is not enabled by default. also only active directory
accounts can be used.

impersonated accounts or local accounts have no network permissions, which
is why your code fails.

either switch to digest or basic, or supply a domain username and password
in the web.config.

-- bruce (sqlwork.com)


"jm" <jo*************@yahoo.com> wrote in message
news:c6*************************@posting.google.co m...
I promise. I have tried everything I could find.

http://msdn.microsoft.com/library/de...us/dnnetsec/ht
ml/SecNetHT05.asp
(and much more)

I have an asp (not .net) page on a server which is not a domain
controller (2003 server in a 2000 forest). The asp page on the server
hits a database on another server. For whatever reason, I either get
invalid path when I use a DSN or opened exclusively or permission
needed when using the UNC \\... Because the webpages are on a
non-domain controller, this causes problems.

I thought that by using delegation, I could delegate/trust the
computer (which is in the domain, but not a DC), trust the account
using the webpage, and I even trust the IUSR_computer that I created
(since it is not part of the domain; but the page uses integrated
authentication anyway.

I hope this makes sense. I cannot get the ODBC or the UNC to extract
data from the database on the remote server in the same domain.
Thanks for guidance.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
Hi, I am working on a n-tier app using remoting. I am using the VS 2005 beta 2. My server needs to access a remote resources on behalf on the connected user. I have configured my server like :...
4
by: Thomas | last post by:
Hi all! I have an asp.net web application that is configured for dynamic impersonation via web.config (identity impersonate=true). The corresponding virtual directory is protected by integrated...
2
by: russell.lane | last post by:
I'm building out a pretty standard n-tier web application. The stack includes application/presentation, biz logic, and data access layers on top of an SQL server back end. We want to use...
6
by: Marc Castrechini | last post by:
This is a classic double hop delegation issue, however its the first time we are setting this up so we are doing something incorrectly. If we run through the IDE or using a localhost path on the...
3
by: Patrick | last post by:
Hello I have the following scenario - SQL 2005 server (serversql) - Windows 2003 with IIS (serveriis) - Windows 2003 ADS (serverads) I want to connect to an intranet application using NTML...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.