windows-authentication

Silverlight RIA Services - how to do Windows Authentication?

99封情书 提交于 2019-12-03 03:40:01
I am building my first Silverlight 3 + RI Services application and need some help. It will be deployed in an controlled corporate intranet, 100% windows clients. I have started from the Silverlight Business Application template. These are my requirements: Upon launch the application needs to recognize the currently logged-in user. The application needs to have access to other properties of the user in AD, such as email, full name, and group membership. Group membership is used to grand certain features in the application. A "login as a different user" link is to be always available - Some

Windows 10 Home: Windows authentication

风流意气都作罢 提交于 2019-12-03 03:29:39
I'm on a 64bit machine running Windows 10 Home.IIS Version 10 I'm trying to use windows authentication on IIS Server. I only see 4 options on IIS server: Anonymous Authentication, ASP.NET Impersonation, Basic Authentication and Forms Authentication. I tried searching online and found out that I needed to enable it under windows features > IIS > Security. But I don't have that checkbox. Please see the below images. So my question is: Does windows 10 home support windows authentication and if yes then how to enable it? Anyone using Windows 10 home please comment Windows 10 Home edition doesn't

ASP.NET Identity + Windows Authentication (Mix mode - Forms + Windows)

僤鯓⒐⒋嵵緔 提交于 2019-12-03 03:01:20
问题 I have tried my best to search the web before asking this question. I've seen similar questions on stackoverflow, however, none has been answered satisfactorily for a long time now. This is one more attempt to get this recurring question answered. The Problem How to build an ASP.NET MVC 5 website which uses "Windows Auth" for Intranet users and "Forms Auth" for Internet users? We'd like to accomplish this using ASP.NET Identity. Moreover, we don't want to use Active Directory Groups for

How can I configure PostgreSQL to use Windows Authentication?

只愿长相守 提交于 2019-12-03 02:49:55
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 edited the pg_hba file. But after doing so, the PostgreSQL service fails to start. Is the Postgresql server running on Windows as well as the clients then you might test with this to see if this works: host all all 0.0.0.0/0 sspi Magnus Hagander, a Postgresql

cx_Oracle with Windows authentication

不打扰是莪最后的温柔 提交于 2019-12-02 23:43:24
问题 I would like to make cx_Oracle work with Windows OS authentication but fail miserably: I know that with pyodbc you can make it work using trusted_connection='yes' but I have to make use of the Oracle client (11g/12c), which does not seem to go well in hand with pyodbc. The closest to what I need seems to be the use of Wallets. However, duplicating existing information does not seem like the way to go. There is mention of external authentication in the cx_Oracle 5.2.1 release notes but this

windows authenticated website prompt for firefox but doesn't for internet explorer

巧了我就是萌 提交于 2019-12-02 23:40:28
i added windows authentication on my website to track user names. For IE it works fine and is seemsless but it prompts for windows login for user using firefox. any ideas? You'll need to enable NTLM authentication in Firefox. Instructions here. Open Firefox and type “about:config” in the address bar. (without the quotes of course) In the ‘Filter’ field type the following “network.automatic-ntlm-auth.trusted-uris” Double click the name of the preference that we just searched for Enter the URLs of the sites you wish to pass NTLM auth info to in the form of: http://intranet.company.com,http:/

Windows Authentication not working in IIS Express, debugging with Visual studio 2013, Windows 8

南笙酒味 提交于 2019-12-02 22:48:19
I just upgraded my application from Visual studio 2012 to Visual studio 2013. My windows authentication is not working any more. It is giving me below error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. In visual studio there is option to select authentication from website properties itself. So I disabled anonymous access and enable windows authentication but it is asking me for username and password as below popup. Even if I give domain credentials here. Its is still giving me this popup again and again. Web Config :

windows authentication vs forms authentication

▼魔方 西西 提交于 2019-12-02 22:34:41
I am trying to understand concepts of windows authentication, forms authentication and their differences. I am confused. Can someone help me in clarifying this. Thanks. Hades Windows Authentication refers to authenticating against Windows user accounts on the box that the application is running on. Forms authentication is a stand alone method of authenticating in .NET forms that you can hook up to some other system, such as a database. Windows Authentication provider is the default authentication provider for ASP.NET applications. When a user using this authentication logs in to an application

Get windows login name without Windows Authentication

杀马特。学长 韩版系。学妹 提交于 2019-12-02 22:24:12
问题 I am trying to get the windows Logon username from my asp.net application. Here is my code string user_name = Request.ServerVariables.Get("LOGON_USER"); this is works fine on my local environment but when I upload the same code on the IIS it gives me blank, even I have tried to get logon username by HttpContext.Current.User.Identity.Name but it gives me blank. Once I enable IIS authentication to Windows authentication and disable Antonyms Authentication it is working fine. Can anyone please

How to use Windows Authentication in WPF?

允我心安 提交于 2019-12-02 19:45:51
I'm not finding much documentation on how to use Windows Authentication in a WPF app. I wouldn't have thought that it would be any different than in any non-WPF app, but it seems that it is. I want to go into my project Properties -> Application and ensure that Windows Authentication is on, but that option is not available in a WPF app (as the following document confirms). http://msdn.microsoft.com/en-us/library/tzdks800.aspx If I ignore all that and just look at My.User.Name (VB), it is empty. This tells me that somehow Windows Authentication is not enabled. Seems like there is a concept I am