Sandeep
Sandeep

Reputation: 473

Windows Authentication issue on Test server

We have a web application developed for use on the intranet of our client. There is no login page, hence there is no Forms authentication.

The application creates a number of records which have to be stored in the DB along with the name of the currrently logged in user. For this we have enabled windows authentication which works just fine in our development environment - and I assume, that when this is deployed on the envinronment of the client, it will work too.

The problem is, that when we host this on a test server, we need to give public IP access to the clients to check it out - and hence the virtual directory is configured to allow "anonymous access". This obviously causes a problem for us while storing the records since we are not able to capture the login name for the person who is creating/testing this application.

If we enable windows authentication for the test machine, then anyone who tries to access the app through the public IP gets a login window popup which we dont want.

Any ideas on how to capture the logged in user name for this scenario ?

Upvotes: 0

Views: 126

Answers (1)

Tae-Sung Shin
Tae-Sung Shin

Reputation: 20633

Based on your design, user should log on a windows machine in your network the server is located. For that scenario, VPN would serve best and simulate real environment.

Upvotes: 1

Related Questions