windows-authentication

Database connections work fine when application is run from localhost. Login fails from dev server

心不动则不痛 提交于 2019-12-11 15:54:18
问题 I have an application which connects to a database, retrieves a username from a user's table and matches it against the username retrieved with System.Security.Principal.WindowsIdentity.GetCurrent.Name On my localhost, everything works fine. The database exists on the development server but the application lies on my localhost. All of my authorization and authentication techniques are running smoothly. However, when I publish my application to the development server, I'm faced with the

Windows Authentication not prompting on Firefox or iOS Safari

吃可爱长大的小学妹 提交于 2019-12-11 15:09:31
问题 I have two WCF WebHttpBinding-bound self-hosted services. One is set to WebHttpSecurityMode.TransportCredentialOnly and HttpClientCredentialType.Windows . The other is set to None and None . This service is serving the exactly the intended authentication prompt behavior on Chrome and IE, with correct content types and content. Testing on localhost and remotely (not on a domain). In IE, the default settings for integrated authentication send my credentials immediately to the authenticated

Integrated Security on Reporting Services XML Datasource

醉酒当歌 提交于 2019-12-11 14:21:35
问题 I am working on setting up my report server to use a web service as an XML datasource. I seem to be having authentication issues between the web service and the report with I choose to use Integrated security. Here's what I have: 1) I have a website w/ an exposed service. This website is configured to run ONLY on Integrated Security. This means that we have all other modes turned off AND Enabled anonymous access turned off under directory security. 2) Within the Web.config of the website, I

Client calling multiple asmx services

主宰稳场 提交于 2019-12-11 13:19:00
问题 I have a WPF client application which calls multiple ASMX webservices I keep on getting 401 authentication errors. Sometimes for whatever reason one succeeds whereas the other one fails but then for some reason one works then the other one fails...Have no idea what the reason is. One of the service needs to do a double hop and it was working earlier during the day and for some reason now has stopped working I do not believe I changed anything. I Followed http://social.technet.microsoft.com

SharePoint 2010 - two web applications - single sign on --> do I need claims based auth.?

烂漫一生 提交于 2019-12-11 11:07:00
问题 We are planning to create two sharepoint web applications using SharePoint 2010 Enterprise Edition. All Users that have access to web app 1, should also be able to access web app 2. This authentication shall be powered by server 2003 active directory. --> do I need to use claims based authentication? If so --> can I use Windows Based Authentication with NTLM for that? The only thing I really want is that users navigating from web app 1 to web app 2 (and vice versa) do not have to authenticate

Configure windows Authentication in IIS 8.5 on Windows Server 2012

北城以北 提交于 2019-12-11 11:05:42
问题 I searched enough but couldn't find a solution. I have a ASP.NET Intranet app at Windows Server 2008 IIS 7.5 with windows authentication - this all work great. I have been trying to migrate it to Windows Server 2012. I have already installed Windows Authentication role for the server and already enabled the windows authentication for the web site. The application seems to be working fine for my account but if anybody else try to connect they get windows login popup. 回答1: I was having similar

windows authentication issue on server but not from local pc

淺唱寂寞╮ 提交于 2019-12-11 11:00:06
问题 I have my c# asp.net web application set up for windows authentication. <authorization> <deny users="?" /> <!-- Denies access to the anonymous user. --> </authorization> I have 2 issues. Firstly, if I navigate to my site from my local PC, I get asked for a username/password to which I enter the credentials I use to log on to the server and these are successful and I gain access. However if I navigate to the site on the server via the internet browser, I get asked for the credentials to which

PHP: How do I establish a connection to my SQL Server?

核能气质少年 提交于 2019-12-11 09:47:28
问题 I usually use my SQL Server with SQL Server Management Studio. When logging in there I use Windows Authentication and do not specify a Username/Password. So the username/password I'm using at the moment is the same I use logging onto my computer. I'm attempting to establish a connection to the server through PHP; however, I get the an error. Anyone know what I am doing wrong? Code $serverName = "MYPCNAME"; $connectionInfo = array( "Database"=>"College", "UID"=>"MYUSERNAME", "PWD"=>"MYPASSWORD

Different ways to get WindowsIdentity with impersonation in aspnet app

那年仲夏 提交于 2019-12-11 07:39:57
问题 The app is running using impersonation and windows authentication. What is the difference of what i've got in the three cases? System.Threading.Thread.CurrentPrincipal.Identity as WindowsIdentity WindowsIdentity.GetCurrent() ((HttpContext) context).User.Identity as WindowsIdentity 回答1: Here you have all the different posibilites. In your case you'll get the same for all 3 (Domain\UserName) 来源: https://stackoverflow.com/questions/6387589/different-ways-to-get-windowsidentity-with-impersonation

Why can't I read from .BAK files on my Desktop using SQL Express in Windows Authentication Mode

大城市里の小女人 提交于 2019-12-11 07:38:53
问题 I am trying to execute this SQL query prior to restoring a .BAK file in SQL Express. Initially, I had the file on the Desktop of my user account. I am logged in as Administrator. When I try to access the .BAK file on the desktop like this RESTORE FILELISTONLY FROM DISK= 'C:\Documents and Settings\Administrator\Desktop\file.bak' I get an error. Msg 3201, Level 16, State 2, Line 1 Cannot open backup device 'C:\Documents and Settings\Administrator\Desktop\file.bak'. Operating system error 5