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

NT Authentication and File Shared Websites


We have an ASP.Net application that is being stored on a file share seperate from the IIS server machine. The application has been designed to use NT authentication (via User.Identity.Name) to control user access and security

We have IIS configured to list the site as a virtual directory under the website and a special "Connect As" user account and password was entered

The Problem: On development (with no file share), User.Identity.Name works as expected and returns the name of the browsing user. On test/deployment however, User.Identity.Name returns the name of the "Connect As" user that was used to establish the share between server and file system

We've tried to set up Active Directory delegation (machine level only) between the two servers but are still seeing the same results. Both servers are Win 2k servers on the same AD forest

My Questions going forward

1) Is it possible to have User.Identity.Name work across an network share like we are attempting?

If yes, the

2) Is delegation the answer to our problems and if so, what steps might we be missing
ie/ Do we need to set up any user level authentication? further configuration of IIS? special changes to web.config

Any other suggestions

Jul 19 '05 #1
1 1130
"Marvin" <an*******@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...

We have an ASP.Net application that is being stored on a file share seperate from the IIS server machine. The application has been designed to
use NT authentication (via User.Identity.Name) to control user access and
security.
We have IIS configured to list the site as a virtual directory under the website and a special "Connect As" user account and password was entered.
The Problem: On development (with no file share), User.Identity.Name works as expected and returns the name of the browsing user. On
test/deployment however, User.Identity.Name returns the name of the "Connect
As" user that was used to establish the share between server and file
system.
We've tried to set up Active Directory delegation (machine level only) between the two servers but are still seeing the same results. Both servers
are Win 2k servers on the same AD forest.
My Questions going forward:

1) Is it possible to have User.Identity.Name work across an network share like we are attempting?

First off, this is not the right forum for this issue as it deals with
ASP.NET and not "legacy" ASP.
That said, I don't know if it's possible with ASP.NET ...
If yes, then

2) Is delegation the answer to our problems and if so, what steps might we be missing: ie/ Do we need to set up any user level authentication? further

configuration of IIS? special changes to web.config?

Try This:
How to Enable Pass-through Authentication for UNC Virtual Directories
http://support.microsoft.com/default...b;en-us;214806

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2

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

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
4
by: R Reyes | last post by:
I am trying to code a file uploader (for forum/email attachments) from the client computer to a remote web server via the PUT method (since POST is not allowed ). However, the upload works ONLY...
9
by: Hermit Dave | last post by:
Hi, I am making a web application (rather two applications) one which is host and used by customers when they are just browsing through products. The second application resides on a secure...
4
by: nicholas | last post by:
Hi, Got an asp.net application and I use the "forms" authentication mode defined in the web.config file. Everything works fine. But now I would like to add a second, different login page for...
5
by: wrytat | last post by:
I'm not sure if I'm posting the correct place. I posted it somewhere else, but someone told me to post it at another place. Anyway, some background first. I am currently building a web...
1
by: MB | last post by:
Hi guys, I've been experiencing a problem here with forms authentication. When I am on one of my wesite's http (non-secure pages) everything works fine. However, I am using a Shared SSL provided...
6
by: Frank Walsh | last post by:
Can anyone tell me if this is possible in asp.net, I want to use form-based authentication to authenticate my users, however a employee of the company is attempting to be logged in as administrator...
0
by: shil | last post by:
Hi, Is there any possibility to authenticate an user between two websites? I have a website through which users login and get authenticated. In the same website I link to a different website and...
1
by: shil | last post by:
Hi, Is there any possibility to authenticate an user between two websites? I have a website through which users login and get authenticated. In the same website I link to a different website and...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.