본문 바로가기
C#

윈도우 인증 사용하여 DB 접속

by 캡틴노랑이 2015. 8. 31.
반응형
윈도우 인증을 사용하여 DB에 접속 할 때 DB Connection string에 다음을 추가한다.

Integrated Security=SSPI

윈도우 인증 DB접근
https://msdn.microsoft.com/en-us/library/ff647396.aspx
http://stackoverflow.com/questions/18605533/connecting-to-sql-server-using-windows-authentication 


반응형

'C#' 카테고리의 다른 글

Application.DoEvents()  (0) 2015.11.04
DataSet의 데이터 DB 저장시 수정, 삭제, 신규 구분하는 방법  (0) 2015.09.04
DateTime 날짜 유효성 검사.  (0) 2015.08.31
using 키워드 2번 사용 사용 예  (0) 2015.08.31
Windows Services  (0) 2015.08.31

댓글