windows-authentication

Prompts for windows authentication when viewing a page in Web site

Hello All, When i try to view a PARTICULAR page in my web site, it prompts for user name and password. Irrespective of providing proper user name/password and clicking OK or directly clicking Cancel button, the page is getting loaded properly. I am not sure why the authentication screen appears!!! It happens only for that particular pag...

HowTo use Windows Authentication with MSSQL 2008+Delphi 7+ADO but users would still enter their password?

Hi Guys! Does anybody know if it's possible to set up MSSQL 2008 to use Windows Authentication but users would still have to enter their windows password to log on (this would have to be accomplished by using Delphi 7+ADO)? [Edit]: Just to clarify, the sql-server and the clients are all within the same Windows Domain. [Edit 2]: I don...

Using windows domain authentication for authentication

The title may seem a little weird but what I find around the internet is methods to sign on to stuff automatically with windows domain authentication (Single Sign On), but that is not what I want. In my use case I want to explicitly ask the person to enter their windows domain user/password combination to make sure that the person perfo...

ASP.NET Custom Windows Authentication

Is there any way to have a custom form for Windows authentication so that the device used when authentication doesn't need to support NTLM in order to work? Also, is there a way to keep the automatic login for intranet users so that they do not need to login if they are already on their computer? ...

Solution to avoid double-hop from client > web service > SQL Server

My project invoves a user connecting from client to web service, and then web service to SQL Server. The web services and SQL Server are on separate machines. Because of security requirements, we cannot used mixed mode in SQL Server, only Windows authentication. We are experiencing the "double-hop" issue between web service and SQL Serv...

Moste Strange IIS Windows Authentication behavior

I have an ASP.NET website, it is running on Windows Server R2 in corp network, and using Windows Authentication, below is its config information: The app pool of the website is using a domain account and in Integrated pipeline mode. The authentication is set Windows Authentication, all other authentication modes are disabled. Howev...

Windows password Authentication with LDAP

I have a desktop application and i can get the domain username with authentication.getPrincipal().toString() code line.If the domain name and the user input matches exactly i granted all access to user .On the other hand , when the user types another username(which doesn't match the domain user name ) ,the programme checks the password i...

windows authentication with a custom login page

So i only need to do windows authentication and not forms authentication. Instead of giving the user a popup box for login.. i want to have a login page with Username, domain and password..also an option of remember password. If the user does not exist it should just show that wrong username and password. I have 2 types of users: admin...

How to authenticate users from another domain in an ASP.NET SaaS application?

We have an ASP.NET web application that we offer as a Service (it's hosted and it's accessible on the Web). We use Forms Authentication and our users have to enter a username/password to connect to our application. Some of our customers ask that we support single sign-on by authenticating users with their own Active Directory. Our appli...

Enabling Windows Authentication in .NET 4 MVC 2

I have an Intranet site reading the windows user name and using it for authentication in the website. My code works locally but does not read the login name when hosted using IIS 6 on Windows Server 2003 with anonymous access checked. If I un-check anonymous access then in Firefox I keep getting a pop up for username and password which...

How do you ensure that applications using your domain credentials for login don't store your password?

There are several applications that use your domain credentials for login. Eg: Custom Corporate apps. How do you ensure that such applications don't store your password? The reason I am asking this is: If you are designing an app which does the same thing, how do you convince the user that your app can be trusted not to store the passwo...

how to Give anonymous access to one page while site has windows authentication

I have already tried for Location tag and allow users = * ... but even then it is prompting for a password for the page. ...

IIS 7.5 Windows Authentication failed with 401.

Since we moved from IIS 7.0 to IIS 7.5 the Windows Authentication doesn't work anymore from remote requests. If I open the website on the webserver everything works fine. web.config: <authentication mode="Windows" /> <identity impersonate="true" /> <authorization> <deny users="?" /> <allow users="*" /> </authorization> ...

AD / Forms authentication

Hi, I am developing an application that will mainly be used internally and want to know how i can automatically authenticate users against Active Directory without prompting them to login. However, when a user is not automatically authenticated (i.e. they have connected via the internet) I want to display a form that will authenticate...

windows authentication to SQL with AD username and password in connection string

Hi I'm writing an ASP.Net MVC intranet application which is accessed via handhelds and a range of browsers. My users all have AD accounts and have different permission to our SQL database views/procs depending on who they area. The database also uses CURRENT_USER for horizontal partitioning. Because of the range of devices that nee...

Ntlm/Kerberos authentication in Django

Hi 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 (intr...

How to write an NTLM Authentication Module?

I would need to write an Authentication Module for IIS7 that behaves exactly like NTLM, but does some extra checking. The Module does NTLM against Active Directory (so that the module knows if the user is OK) and then needs to call another service to finally verify access. I have to do this in an Authentication Module because the actual...

Windows authentication on intranet in a RESTful WCF service

My goal is to create a RESTful HTTP API (most likely hosted in IIS) to be used within a company's intranet that hosts Windows machines. The RESTful API will be created using WCF. Consequently, the WCF binding type is webHttpBinding. Fundamentally, the API consists of various resources e.g. http://domain/service1, domain/service2, etc, e...

IIS Windows Authentication 401.1 when accessed internally

I have an intranet site that our customer needs to access both internally and from the internet. The site has access restricted with Window Authentication. The problem is that the site works when access externally, but fails with a 401.1 when accessed from within the local network. Why would the authentication fail locally? DETAILS...

How to design User authentication for 2 servers

I need to authenticate a user from 2 servers. First, a user would be authenticated from Server A, on success, his AD (Active Directory) credentials would be authenticated to Server B (which is AD). Should, server A, send an OKAY signal to Server B (Active Directory) that server A has done with authentication and its okay. I am confused...