473,388 Members | 1,330 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,388 software developers and data experts.

Security context question

If I turn off anonymous access to an ASP page and then use "Integrated
Authentication" in a Intranet environment, I expected the user context to be
the user who is accessing the page. It doesn't seem to be the case.

I'm using a component (ASPUpload) to move a file to a share point on another
box. The user context that I thought I was running under has write access
to this share but I keep getting a 500 back when I run the page. Local
paths work fine, share points are a no go.

I turned to basic authentication, put the name of the domain in the domain
box and then used the same username and password to access the page and it
copied the file with no problems. So in this case it seems that the user
context WAS the user I expected.

What am I missing that I cannot get Integrated Authentication to work in the
expected user context?

Any ideas?
Jul 19 '05 #1
1 2157
Hi Kevin,

This is because the token doesn't have the outbound privilege. This article
may be what you are looking for.

207671 HOW TO: Access Network Files from IIS Applications
http://support.microsoft.com/?id=207671

You can configure the component in COM+ and specify an identity for the
COM+ component, so that it can access files on another machine.

Hope this helps.

Best Regards,
Leo Chen

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
| From: "Kevin Jackson" <kj******@powerwayinc.com>
| Subject: Security context question
| Date: Wed, 6 Aug 2003 15:15:27 -0500
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <ew**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.inetserver.asp.general
| NNTP-Posting-Host: 12.96.65.193
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:248835
| X-Tomcat-NG: microsoft.public.inetserver.asp.general
|
| If I turn off anonymous access to an ASP page and then use "Integrated
| Authentication" in a Intranet environment, I expected the user context to
be
| the user who is accessing the page. It doesn't seem to be the case.
|
| I'm using a component (ASPUpload) to move a file to a share point on
another
| box. The user context that I thought I was running under has write access
| to this share but I keep getting a 500 back when I run the page. Local
| paths work fine, share points are a no go.
|
| I turned to basic authentication, put the name of the domain in the domain
| box and then used the same username and password to access the page and it
| copied the file with no problems. So in this case it seems that the user
| context WAS the user I expected.
|
| What am I missing that I cannot get Integrated Authentication to work in
the
| expected user context?
|
| Any ideas?
|
|
|

Jul 19 '05 #2

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

Similar topics

3
by: craig | last post by:
I am working on my first .NET development project that involves custom role-based security per the project requirements. This lead to a general design issue this week that really caused us some...
4
by: hazz | last post by:
If I successfully run a VS.NET app which includes the following; ************************** APP 1 **************************** m_iIdnt = new...
2
by: J-T | last post by:
We have an asp.net application with <identity impersonate="true"/> and <authentication mode="Windows" /> in our web config and we are using Windows integrated in IIS and also NT AUTHORITY\NETWORK...
2
by: Sparky | last post by:
Hi I have an vb.net winforms application that needs to launch a thread, and within that thread change the security context of the current user to a new one using impersonation. For clarity, the...
2
by: John Kotuby | last post by:
Hello all, Note: This is the full version of a Post that I inadvertently sent before it was complete. About a year ago I wrote a VB.NET 2003 solution that consists of a number of assemblies...
1
by: Ian | last post by:
I am developing a .NET Web Service that acts as a thin calling layer for a larger object. Thus the larger object runs in the context of the web service that is calling it, and is therefore subject...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
4
by: Kerem Gümrükcü | last post by:
Hi, the topic of this thread implies the question. Why does this happen. What can i do against it. App runs in admin context, then ii switch to user standard user context and open a form with...
5
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.