Ask a Question related to ASP.NET Security, Design and Development.
-
ajit #1
SQL Authetication in windows service
how to configure .NET windows service to use windows authentication for SQL
server
ajit Guest
-
Tomcat HTTPS SSL Authetication (WITH SECURITYCONSTRAINT)
Hi all, I have a flex application which emedded into a page which is protected using container managed authentication The contraint look like... -
form authetication?
Hi Can anyone tell me which logon name (is NON "pre-Windows 2000" or the "pre-Windows2000") is used for form authentication? Mine seems to work for... -
ASP.NET windows authetication
Traditionally, I've used windows authentication with a web server on an Active directory domain. IIS authenticated users on AD. However to do... -
converting windows service to a web service
Hello, I currently have a windows service that I am considering changing into a web service. The windows service is used to communicate with... -
Forms Authetication to Protect Single File Using Asp.net
I want to protect a single file (openvideo.aspx). I already setup the folder as an application in IIS. The authentication seems to work fine and... -
Daniel Fisher\(lennybacon\) #2
Re: SQL Authetication in windows service
just create a connectionstring that uses WinAuth ...
[url]http://www.connectionstrings.com/[/url]
--
Daniel Fisher(lennybacon)
MCP ASP.NET C#
Blog: [url]http://www.lennybacon.com/[/url]
"ajit" <ajit@discussions.microsoft.com> wrote in message
news:46859B69-F1E7-4448-99D8-9306080DBD29@microsoft.com...> how to configure .NET windows service to use windows authentication for
> SQL
> server
Daniel Fisher\(lennybacon\) Guest
-
Peng Jie #3
RE: SQL Authetication in windows service
integrated security=SSPI;
add this to your web.config
"ajit" wrote:
> how to configure .NET windows service to use windows authentication for SQL
> serverPeng Jie Guest
-
Khan Imran #4
Re: SQL Authetication in windows service
try this
myConnection = new
SqlConnection("server=localhost;trusted_connection =true;database=xxxxx");
myconnection= new SqlConnection("data source=server address;initial
catalog=xxxx; Trusted_Connection=yes")
Khan Imran
"Peng Jie" <PengJie@discussions.microsoft.com> wrote in message
news:9D38930F-6835-4985-BBF0-4EBC1E8BF7C7@microsoft.com...> integrated security=SSPI;
>
> add this to your web.config
>
> "ajit" wrote:
>>> how to configure .NET windows service to use windows authentication for
>> SQL
>> server
Khan Imran Guest



Reply With Quote

