IIS에서는 ISAPI 필터를 통하여 인증을 할 수 있습니다. 일단 여기서 필터를 다운로드 합니다. http://www.trilead.com/Download/Trilead_ISAPI_Filter_for_IIS/ 설치를 마치면 시작프로그램에 머가 깔려요. DLL - 필터 DLL 파일 Documentation - 설명서 HTPasswd - 사용자 등록 실행 파일 0. ISAPI에 파일 추가 실행 - inetmgr - 사이트 - 등록 정보 1. 인증을 걸 web root 내의 디렉터리에 .htaccess 파일을 생성합니다. 내용은 다음과 같습니다. # Example .htaccess AuthType Basic AuthName "Private Area" AuthUserFile c:\inetpub\wwwroot\..
1. 레지스트리에서 값 읽어오기 - 비스타에서 작업할 때 stdafx.h 파일에 #define _WIN32_WINNT0x0600 #include (include Windows.h) http://msdn.microsoft.com/en-us/library/ms724868(VS.85).aspx LONG WINAPI RegGetValue( __in HKEY hkey, __in_opt LPCTSTR lpSubKey, __in_opt LPCTSTR lpValue, __in_opt DWORD dwFlags, __out_opt LPDWORD pdwType, __out_opt PVOID pvData, __inout_opt LPDWORD pcbData ); ex) CString SubKey = ""; LPCTSTR lpK..