SharpSVN with Windows Authentication in ASP.NET MVC 4 Web App

729 Views Asked by At

I am developing a intranet web application using ASP.NET MVC 4 that uses Windows-Authentication. I have integrated SharpSVN to do some SVN interactions and initially I was planning to use the username and the password from Windows Authentication, to authenticate the user on SVN, but as I found out, you can't get the password of the user when using Windows Authentication.

So is there any way to achieve this? To make SharpSVN use the Windows Authentication from the ASP.NET?

Thank you.

1

There are 1 best solutions below

2
On

Look into identity inpersonation this will let you run each windows authenticated user in a thread under that user account. This will mean, that your clients must use machines that belong to the same AD domain as the Web server and as the SVN server.