windows-authentication

Connecting to Microsoft Analysis Services cube with double hop windows authentication

Hi I'm trying to enforce windows authentication for users of a .Net application on Web Server to access a cube on a Microsoft Analysis Services database on SSAS and just going nuts trying to get it to work! I am using <identity impersonate="true" /> in the web.config. Anonymous access is turned off in IIS and Integrated Windows Authen...

How can I configure PostgreSQL to use Windows Authentication?

I am trying to setup PostgreSQL and allow only certain Windows users to access the data from the database. Setting up Windows Authentication is Quite easy with MS SQL, but I can't figure out how to set it up in PostgreSQL. I have gone through the documentation at http://www.postgresql.org/docs/current/static/auth-methods.html and edite...

Use windows session credentials as login?? How does it works??

Hi, I came across programs like ARCserve HA, which they uses windows session credentials as the login with out having me to manually type in the userID and password. How does this works?? The program is actually capable of getting get my window's userID and password?? As my current project which is written in Java requires me to do so...

Can the Visual Studio Remote Debugger work on a windows xp home machine?

We're trying to get remote debugging working across domains from a windows 7 machine to a windows xp home machine. The machines are VPN'd together using LogMeIn Hamachi. I've checked over the MSDN guide on getting Remote Debugging set up thoroughly and have gotten past a lot of errors, but I'm constantly running into blocks. I can get...

User is not associated with a trusted sql server connection - non-domain computer

I'm trying to connect using several different clients to SQL Server 2005 standard, which has been configured to use Windows Authentication. Although the user account exists on the domain, the computer is not joined to the domain. I get the message, "user is not associated with a trusted sql server connection". The question http://stac...

IIS is forcing me to login in order to load my CSS and Javascript files when using Windows Authentication on a subdirectory.

I have an asp.net MVC application that has one section /admin locked down via windows authentication. I have achieved this by doing the following. Web.Config <authentication mode="Windows" /> AdminController [Authorize] public class ContactController : Controller { .... } This works as it should. When I try to access the /admi...

Java, Unix, IE integrated ad/windows authentication

Hello all, We have a Java application running on Unix box and we want to authenticate intranet users with IE browsers on their windows desktops. Basically when they get to our application, we want to know their windows username and do our custom authentication against our application user database. I searched around and a lot of th...

HELP: Windows Security in IIS6 & Silverlight

I have set up a Silverlight application that uses Windows Authentication, and works fine on My Windows Server 2003 Dev Box, but on Deployment to our Test Environment a windows authentication window opens and asks for the users credentials (which never get resolved). I have just realized one big difference is that I am not using host he...

Making a web request to a web page which requires windows authentication

I am trying to make a request to a web page using WebRequest class in .net. The url that I am trying to read requires Windows Authentication due to which I get an unauthorised exception. How can I pass a windows credentials to this request so that it can authenticate. HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create( "http...

How to combine Forms and windows authentication on IIS 7 asp.net 4?

Hi, I've really tried everything know...I think. =) I used this old article to some succes: http://msdn.microsoft.com/en-us/library/ms972958 Locally on my machine it seems to work for myself, but noone else gets verified by windowsauth. I then tried to set it up on a Server2008 R2 and doing all the IIS settings as in the article. For so...

.NET authorizing Windows Authentication

hi, I have this page http://www.mareez.com.sa/Camera1.htm. It asks for the windows username & password. I want to hide this username & password, and I want to pass it to the camera server in my code (i.e. not visible to the website visitor). ...

Second layer of authentication in ASP.NET MVC2 application

We have an ASP.NET application that's partly in MVC (the rest of it being a legacy webforms-based CMS). The application is authenticated via Forms Authentication, although any user accessing it from a specific set of IP addresses are automatically assigned to a "special" user. We currently have a child application that we would ideally...

ASP.NET MVC Windows Authentication 403 Forbidden: Access is denied

Hello all, I'm developing an ASP.NET MVC 2 app using Windows Authentication. When I run it within Visual Studio (using the built-in IIS), under the same domain, I was able to login using my credential. But when I deployed it to the server, which is also on the same domain, in-house, I got the "403 - Forbidden: Access is denied." error. ...

ASP.NET Intranet App Using Windows Authentication Reports Previous Login Name

I'm currently troubleshooting an Intranet application hosted at our company. In this application, Windows Authentication (Integrated Mode) is used to obtain the IPrincipal object for the current user and the current user's name (i.e. "DOMAIN\Joe123"). Our domain is 4 characters long, so the individual who put this code together is grabbi...

Using fiddler with Windows Authentication

I am testing some proxy settings for our application but I need to test a proxy that requires Windows Authentication (or network credentials). For testing, I assigned the credential of the proxy to the network credentials System.Net.WebProxy proxy = new System.Net.WebProxy("127.0.0.1", 8888); proxy.Credentials = System.Net.CredentialCa...

Using the web client credentials to call the server (hosted in IIS 7) database with Integrated Security

I'm dealing with a problem trying to use Windows authentication with IIS 7 in Windows Server 2008. Also i'm using WCF. I have a client application and the server application. The server application manage the user accounts using Active Directory. Everything starts when the client sends its user and password to the server application, wh...

Using IIS7 and vs2010 to do remote debugging with MVC2 and Windows Authentication

What I am doing I am building an MVC2 website with Windows Authentication using Visual Studio 2010. I want to debug the website using IIS7 and access it from a browser in a virtual machine (in order to sign in using different users with different privileges). Problem When I try to access my website from my virtual machine, I get the ...

Get username from SecurityIdentifier

I am using Windows Authentication on a website where users create reports that are stored in a database. When I save a report, I want to know which user filled it out, so I have been storing the SecurityIdentifier of their WindowsIdentity in the database to identify which user filled out the report. Here is the code I use to get the Secu...

Using NegotiateStream when domain is unavailable

I'm using a NegotiateStream to authenticate a client/server application. The server side code looks like this: SecureStream = new NegotiateStream(Stream, true); SecureStream.AuthenticateAsServer( CredentialCache.DefaultNetworkCredentials, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); if (!Secure...

Problem windows authentication - weird characters

When I try my application in Chrome using Windows Authentication, everything works fine. With FireFox and IE, I get a page with these characters (haven't put all of them inside): ‹������í½I–%&/mÊ{JõJ×àt¡€$Ø@ìÁˆÍæ’ìiG#)«*ÊeVe]f@Ìí¼÷Þ{ï½÷Þ{ï½÷º;N'÷ßÿ?\fdlöÎJÚÉž!€ªÈ?~|?"~—?ö7ø5ðü:¿Æ_÷Û¯ÿÝg¿üoý³ÿãßãïû«þÕ?àYüÙ¿Í·“ßfûû#þ®éŸðkþ)Û_¸÷¶È¿÷Ûßú¿ÿgþ...