Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Authentication with IIS and SQL Server
Message
From
16/09/2005 14:11:32
 
 
To
16/09/2005 08:57:47
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01049749
Message ID:
01050426
Views:
25
Hi Keith,

Writing a web service or COM object as an intermediary between ASP and SQL Server seems like an awful lot of work to achieve something so simple. I wouldn't even know where to start on that. I'm not clear, for instance, how a COM object would be able to connect to SQL Server - would the COM object be running on the same server as SQL Server? Presumably so, otherwise it would still have to run as a domain user. How would the ASP pages call or instantiate the COM object? Too many questions ;-)

It would probably be quicker to rewrite the whole application in ASP.Net! Unfortunately, that is currently out of the question.

I would have thought that someone else would have solved this problem already - it can't be that unusual to have IIS and SQL Server on separate servers within an organisation. I've asked on several messageboards but haven't got a definitive answer yet.

It looks like we may have to contact Microsoft and ask them what the "best practice" is. The way it's going, it looks like using SQL Server Authentication may be just as, or more secure than setting anonymous IIS users as a domain account with permissions in SQL Server.

Best.

Matt.



>
>I missed that part about ASP. To answer your question, yes it is more of a security risk to set anonymous IIS users as a domain account with permissions in SQL Server. ASP doesn't provide the same level of control as ASP.NET, and because it is a scripting language, is more vulnerable to script injection attacks.
>
>The correct and most secure way to set up the security is to put something in between the web page and the database. A Web Service or COM object would do the trick. That way you can precisely control what is being executed on SQL Server.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform