[Answered ]-Can a WIN32 program authenticate into Django authentication system, using MYSQL?

2đź‘Ť

âś…

Either provide a view where your win32 client can post to the django server and get a response that means “good login” or “bad login”. This will require you to modify the win32 client and create a very simple django view.

Or provide your own Django Authentication backend that authenticates your django logins against the MS-sql server. This alternative will require no modification to your win32 client but probably quite a bit of effort on the authentication backend front. A bit of research might yield someone else’s backend that you can re-use. This looks like a promising place to start – they claim that “Both Windows Authentication (Integrated Security) and SQL Server
Authentication supported.”

👤Tom Leys

0đź‘Ť

If the only thing the WIN32 app uses the MS-SQL Server for is Authentication/Authorization then you could write a new Authentication/Authorization provider that uses a set of Web Services (that you would have to create) that expose the Django provider.

Leave a comment