Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

Windows authentication IIS,ASP.NET & SQL

$
0
0

I need an expert advice about the problem that i have.The goal i want to achieve is to use WINDOWS AUTHENTICATION (users from AD) in a non domain environment,access the web app and use the same credentials do access the back - end SQL server. 

For the test

1.I made an ASP.NET app with a grid view

2.Published the web app on my server 

   -i registered spn for the user that is running the application pool and the user that is running sql server --- i'm i missing something?

3.when i access the app from the server it self everything is fine,except i dont get the win auth box for the credentials,but when i access it from a client computer i get an error 

Unauthorized: Access is denied due to invalid credentials.

or 

NT AUTHORITY\ANONYMOUS LOGON'


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>