Re: SQLServer login with Trusted Connection thru ASP

From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 12/28/04


Date: Tue, 28 Dec 2004 14:01:14 -0500

Jim Corey wrote:
> We're looking at logging on to SQLServer using Windows Authentication
> from an ASP app, and trying to figure out what will work.
>
> The following connection string works with Basic Authentication:
> driver={SQL
> Server};SERVER=MyServer;Database=MyDB;Trusted_Connection=yes;
>
> Is there a way to do this with IIS security set to Integrated Windows
> Authentication?
>
> More: This is an existing app where currently each user has a
> database login. We want to get away from that. Another option would
> be to create a database user for the app, so we may do that. Any
> opinions welcome.
>
> TIA,
> Jim
>
This article should contain all you need to know to do this. Pay attention
and follow the links in the article where relevant:
http://www.aspfaq.com/show.asp?id=2126

Bob Barrows

-- 
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Relevant Pages

  • Re: I dont want to re-invent the Login/Login Wheel - Help with utilities
    ... In the case of AS.NET app, being hosted by ISP, it is very likely the users are not windows domain user. ... the membership provider uses SQL Server or SQL Server Express. ... Both Windows authentication and authorization wolud be be fine if we wanted the world to have access to our application data, but not very intuitive for maintaining integrity over our data. ...
    (microsoft.public.vstudio.general)
  • RE: firefox questions
    ... Windows Authentication is an IE only thing. ... "Jim Corey" wrote: ... > Any explanations for what's happening? ... My app uses Windows authentication in an intranet. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do you pass credentials from a classic ASP app to ASP.NET 2.0?
    ... app check whether a user has been authenticated in exactly the same way ... I am a dumbshit, I forgot to mention, in the classic app, if you are ... HOW ARE YOU PERFORMING THE AUTHENTICATION IN THE ASP CLASSIC APP???? ... Marc I believe the classic app uses Windows Authentication and the net 2.0 ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Mixed authentication schemes
    ... What type of configuration is needed to allow both ... application B uses Windows Authentication. ... Application A can be below application B. In this case, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Complicated Fallback ASP.NET Security
    ... I have been working on an ASP.NET app at work for quite some time now. ... We've been using Windows authentication up until now, ... users on our local intranet would be ...
    (microsoft.public.dotnet.framework.aspnet.security)