TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
srivalli.chavali
NA
13
0
Windows authentication with impersonation - network resource access fails
Mar 17 2005 7:21 PM
Hi, I have a question regd. Windows authentication and network file access. My asp.net application doesn't use any of the .NET's authentication schemes (Forms, Windows or Passport) yet. I have a login page where the users would supply their credentials and the business logic compares these credentials against SQLServer database and allows/denies access to the website. So far so good. But now, my application needs to access some files located on the Domain network. The first thing that came in my mind is Impersonation. I did change my web.config file to use Windows authentication as follows...
This "domainName\loginID" account HAS full rights over the network resource. Now I have UNCHECKED Allow Anonymous Access in IIS. But I still cannot access the file on the network. It errors out at the Response.Redirect("//networkPath/folder1/subFolder1/fileName"); as Page cannot be displayed. I have checked the User.Identity.Name and it looks correct (domainName\loginID) Even the User.Identity.AuthenticationType is good (NTLM) I'm surely missing something critical. Any help in this regards is greatly appreciated. Thanks in advance, Srivalli.
Reply
Answers (
0
)
have trouble with sendmail
Problem publishing Web Site