windows-authentication

Windows authentication token C++

我的未来我决定 提交于 2019-12-06 06:07:14
Simply said: Can I generate in C++ some kind of text information - user token, session token, access token (?) - of currently logged in Windows user and then verify this text information (authenticate the user) somewhere else (different computer in domain)? I have two computers. On the first one user should be able to connect via client app to my server app running on the second computer. He has to use Windows Authentication so server will use his windows groups for some information - no username/password sending. My idea is (don't know if it is possible) that client computer/process knows the

How to use Windows credentials to auto login Azure Active Directory managed applications instead of Single Sign-On

亡梦爱人 提交于 2019-12-06 05:33:58
After implementing the integration of Azure Active Directory and some other could applications like Salesforce, and syncing On-Premise Active Directory data by using Azure AD Connect, now I could auto login Salesforce and other cloud apps with Single Sign-On by using the credentials I used for desktop logon, but I still need to key in the credentials once when accessing Azure Applications page (Azure Portal). Is there any configuration in Azure I can change to support auto-login by using the Windows credentials, so that once I log into my encrypted machine, I could auto login the Azure

How to validate user's cached credentials against a domain?

血红的双手。 提交于 2019-12-06 03:35:53
问题 When you logon to Windows, your credentials are cached . This allows you to use single sign-on . If you were to then browse to another computer, e.g.: \\hydrogen you would not be prompted for credentials. Windows will take your: current username (hashed) password and attempt to authenticate you automatically. The interesting thing is that this even works if your workstation is not on the domain. Windows will automatically use your username and password when connecting to the server. And if

IE11 overrides Bearer authorization header in intranet environment

只愿长相守 提交于 2019-12-06 03:12:30
问题 I'm encountering a pretty strange issue in IE11 where the browser is overriding the Authorization header in my requests even though I am setting it via AngularJS. Basically, I have an HTTP interceptor registered for all requests that looks like this: AuthInterceptorService.request = function (config) { config.headers.Authorization = "Bearer " + bearerToken; } This works great in all browsers (even IE under certain conditions). I have my app set up in IIS as allowing anonymous authentication

Is it possible to retrieve data from Active Directory by impersonating a Windows authenticated user in ASP.NET?

佐手、 提交于 2019-12-06 02:55:58
问题 I've been trying to solve this problem all day, and I've read some conflicting information within the standard google message board answers. What I'm trying to do is retrieve a domain user's (that is, the currently logged in user's) email address from active directory. My ASP.NET 4 website is setup for Windows Authentication and everything works fine until the active directory calls. When I do the following, I get a COMException on the search.findAll() line. The exception message is "An

JMeter with Windows Authentication?

久未见 提交于 2019-12-06 02:32:45
问题 I am using JMeter to load test some pages that reside in a SharePoint 2007 Site. The farm that contains the pages resides in a different domain than the machine running the test, and uses Windows Authenticiation. The connection to the server is over an unencrypted (non-SSL) connection. Because of this, I need to pass login credentials to the server. How do I configure JMeter to login to the server using windows authentication? 回答1: Try this Edit based on the reply: new link Scroll down to the

Forms Authentication Using Active Directory / LDAP

蓝咒 提交于 2019-12-05 22:51:28
First off--thanks for having a look. MY QUESTION In a .NET web app, is using Windows Authentication for a extra-net on a WAN consisting of various users, companies, user-agents, etc a bad idea? BACKGROUND I am lead dev on a fast track (very fast) web application for an extra-net that will allow the client's vendors, suppliers, partners, etc to log on and push and pull certain assets such as image files, videos, flash files, etc. PLATFORM/TECHNOLOGY Asp.Net 4.0, C#, MVC3 PROBLEM (Maybe) The client's IT department has requested that the app use Windows Authentication to authenticate users. One

Classic ASP & ASP.Net Authentication

烂漫一生 提交于 2019-12-05 20:41:13
I have two separate apps (one is classic asp, the other is asp.net) which, from the point of view of the user, should appear seamlessly as one "application". As others have pointed out, the two apps can't share session information, so I am planning to use windows authentication along these lines:- In the ASP world: Request.ServerVariables("AUTH_USER") and in ASP.Net (.Net 2.0): System.Threading.Thread.CurrentPrincipal.Identity.Name which is called from my business logic layer (i.e. HttpContext.Current.User.Identity.Name is not available to me). Is this considered good practice or is there a

MVC + Ajax call to Controller Loses Authentication

岁酱吖の 提交于 2019-12-05 20:08:41
I've seen similar issues in some posts but none of the answers have helped yet. My MVC app has a few AJAX/JSON response methods in one controller, and the calls get to destination but it doesn't work in IE or Chrome, and in mozilla it does, but Firebug returns a very strange set of 3 attempts (all return 401 error) but the last one does actually work! My App has windows authentication, how can I extend this to my Ajax methods? the rest of the app works fine. I've tried bypassing the 401 by returning 200 Status from Global.asax (Application_EndRequest) but continues to do the same. Basically

ASP.NET MVC 3 Intranet site on IIS7.5 w Windows Authentication gives 401.3 and File authorization failed for the request when trying to log in

左心房为你撑大大i 提交于 2019-12-05 18:38:49
问题 I have made an ASP.NET MVC 3 Intranet site with Windows Authentication enabled: in the Visual Studio project file properties in the web.config, i.e. <authentication mode="Windows"/> on the site properties in the IIS 7.5. server Anonymous access is disabled for all these three above, the web.config says <deny users="?"/> . Impersonation is disabled in the web.config by identity <impersonate="false"/> and on the site properties in the IIS 7.5 server. And finally, the NETWORK SERVICE is set to