windows-authentication

Using Windows Authentication in ASP.NET

放肆的年华 提交于 2019-12-30 05:47:06
问题 I'm trying to use Windows Authentication in my ASP.NET application. Whenever I try to view the app it sends me to a login page. How can I make it work without having to manually login via the browser? web.config <system.web> <authentication mode="Windows"></authentication> <anonymousIdentification enabled="false"/> <authorization> <deny users="?" /> <allow users="*" /> </authorization> <customErrors mode="Off"></customErrors> <identity impersonate="true"></identity> <compilation debug="true"

Impersonation in ASP.NET web application does not work when running on IIS

痴心易碎 提交于 2019-12-30 03:32:07
问题 I am working on ASP.NET 4.0 MVC3 web application that works in intranet environment. The application makes use of Windows authentication. Its application pool is run by domain user that has spn set on a domain controller. Authentication works using Kerberos (on IE and Firefox after some additional configuration). Now I want to upload files to sharepoint, but it's important for me to upload the file as the user currently logged in into the application (so the file is created on Sharepoint with

Hybrid of Windows Authentication and Forms Authentication in ASP.NET MVC 4

拜拜、爱过 提交于 2019-12-30 03:14:27
问题 We have an ASP.NET MVC 4 intranet application. We’re using Windows Authentication and that aspect works fine. The user’s credentials are used and we can access those credentials from the web app. What we really want is some sort of hybrid mode, however. We want to get the user’s credentials from the browser, but we also want to verify that the user is in our application’s database. If the user’s in the database, then they can just continue on. If they’re not, we want to redirect them to a

Windows Authentication with ASP.NET MVC

隐身守侯 提交于 2019-12-29 14:59:01
问题 I've built a custom login system for my asp.net mvc 1.0 web application as I store large amounts of user data for each user (I decided against trying to add custom tables for the windows authentication due to this). The login system basically uses SQL Server (2005 or 2008) and my own database and table structure which is pretty standard. A users table with an unique id, username and hashed password which is linked to my other tables of user related data. My question is, how can I tie my

Windows Authentication with ASP.NET MVC

拟墨画扇 提交于 2019-12-29 14:58:14
问题 I've built a custom login system for my asp.net mvc 1.0 web application as I store large amounts of user data for each user (I decided against trying to add custom tables for the windows authentication due to this). The login system basically uses SQL Server (2005 or 2008) and my own database and table structure which is pretty standard. A users table with an unique id, username and hashed password which is linked to my other tables of user related data. My question is, how can I tie my

MVC - Mixed Auth - OWIN + Windows Auth

穿精又带淫゛_ 提交于 2019-12-29 13:11:57
问题 I need to have both windows authentication and owin (forms) authentication but i can't get it to work. Probably the best option is to have two sites that have different authentication methods. I found a project that does what i want: MVC5-MixedAuth. But it uses IISExpress and i can't get it to work with Local IIS. The error that occurs is: Request filtering is configured on the Web server to deny the request because the query string is too long. If i remove all my ConfigureAuth() method

MVC - Mixed Auth - OWIN + Windows Auth

人盡茶涼 提交于 2019-12-29 13:10:01
问题 I need to have both windows authentication and owin (forms) authentication but i can't get it to work. Probably the best option is to have two sites that have different authentication methods. I found a project that does what i want: MVC5-MixedAuth. But it uses IISExpress and i can't get it to work with Local IIS. The error that occurs is: Request filtering is configured on the Web server to deny the request because the query string is too long. If i remove all my ConfigureAuth() method

Impersonate with Delegation or More than one hop on Kerberos? Completely lost

两盒软妹~` 提交于 2019-12-29 06:29:29
问题 My issue here is how to deal with security and a proper implementation of impersonation which will work from a client machine and authenticate properly to my IIS server which passes the still valid impersonation ticket along with the LDAP request. My System is an independent server running on my company intranet which hosts the domain controller, LDAP server, etc, and uses Kerberos protocol. System Info: IIS7 with Windows Auth and Impersonate on Windows 7 x64 Network Info: IIS 6, LDAP,

windows authentication not working in ie7

别等时光非礼了梦想. 提交于 2019-12-28 11:54:28
问题 Really need help with this and tried lots of things and run out of ideas. I have a site hosted on an internal development server, accessible for staff internally. the server setup is windows 2008 R2, iis 7.5 sql 2008 express. Im authenticating using active directory. in Chrome the site loads, and automatically logs me in recognising my name. When viewing the site in IE7 the response is: "401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this

Ntlm/Kerberos authentication in Django

最后都变了- 提交于 2019-12-28 10:12:48
问题 I'm looking for a guide about adding windows authentication support into a django app, particulary OSQA I'm aware about http://code.google.com/p/python-ntlm/ And also saw this post: http://erny-rev.blogspot.com/2007/11/ntlm-authentication-in-django.html But I'm not a Django-dev, I just want to deploy OSQA in Windows enviroment (intranet, so I need to add windows authentication). So I'm looking for simple step-by-step description. (I've managed to deploy a OSQA site on windows with SQL Server