windows-authentication

Write to a Directory as a Specific User on a Different Domain

蹲街弑〆低调 提交于 2020-01-15 12:06:07
问题 I am wondering, how would one write a file (say for instance, from a Console Application in a scheduled task) to another computer on a different domain? How would one set the Username and Password, such as with the "Log on to..." dialog to authenticate? Couple of prerequisites exist, obviously: The machines can see each other across the domains, however they need to authenticate You know the login details The username you would log in with has the appropriate permissions to write Anyone have

ASP.Net Identity - Multiple Authentication Methods

和自甴很熟 提交于 2020-01-15 09:15:48
问题 Is it possible to configure the new ASP.Net Identity system to support multiple authentication methods? I have a requirement to support both Windows authentication (Intranet) and application level users (ideally using the Entity Framework option). This seems to be almost impossible in the old ASP.Net Membership world but has anything changed with the new OWIN based implementation? I need a scenario where Windows Auth is attempted first and then, if it fails, the site falls back to application

Get the computer user name in a web application

Deadly 提交于 2020-01-15 04:44:24
问题 I have a web application where forms authentication is used. The user names are the same that the ones used by the users in their computers, so they want the web app to be able to detect that user name so the app can log it the user automatically. How can it be done? I mean, if I set the authentication mode to "Form" do I still get those credentials from IIS? I know this can be done in several better ways than this, but I am interested in this particular way. As it is a small web app in an

Get the computer user name in a web application

↘锁芯ラ 提交于 2020-01-15 04:44:11
问题 I have a web application where forms authentication is used. The user names are the same that the ones used by the users in their computers, so they want the web app to be able to detect that user name so the app can log it the user automatically. How can it be done? I mean, if I set the authentication mode to "Form" do I still get those credentials from IIS? I know this can be done in several better ways than this, but I am interested in this particular way. As it is a small web app in an

Get the computer user name in a web application

╄→尐↘猪︶ㄣ 提交于 2020-01-15 04:44:06
问题 I have a web application where forms authentication is used. The user names are the same that the ones used by the users in their computers, so they want the web app to be able to detect that user name so the app can log it the user automatically. How can it be done? I mean, if I set the authentication mode to "Form" do I still get those credentials from IIS? I know this can be done in several better ways than this, but I am interested in this particular way. As it is a small web app in an

Windows Authentication in Firebird 2.5

本小妞迷上赌 提交于 2020-01-14 14:38:28
问题 Can I login to firebird database using a Windows user instead of using SYSDBA and MASTERKEY credential? If Yes, please let me know the way to connect to the firebird database. I am using Delphi XE3 and Firebird 2.5. I need to authenticate user by logged in user after updating config file for "trusted" in place of default "native" as specified here: https://firebirdsql.org/file/documentation/release_notes/html/en/2_5/rnfb25-fbconf-authent.html This is my code : SQLConnection1.LoginPrompt :=

Turn off / Disable windows authentication for asp.net-mvc

强颜欢笑 提交于 2020-01-14 09:33:49
问题 I created a new asp.net-mvc project and during setup I chose to use Windows Authentication. Now I like to turn it off(at least for a while). I changed the web.config to this <authentication mode="None" /> But that does change anything. It will still prompt me. I am using the IIS Express. UPDATE: I mean it still prompts me when using Firefox. Internet Explorer will continue and not show my domain username 回答1: The web config should overwrite the IIS express config but in this case it seems it

angular cli + windows authentication backend

自闭症网瘾萝莉.ら 提交于 2020-01-14 07:59:07
问题 I created an Angular CLI project with a proxy reference to my backend project that contains the web api services. launchSettings.json (backend project): ... "iisSettings": { "windowsAuthentication": true, "anonymousAuthentication": false, "iisExpress": { "applicationUrl": "http://localhost:10863/", "sslPort": 0 } }, ... proxy.conf.json (frontend project): { "/api": { "target": "http://localhost:10863", "secure": false, "logLevel": "debug" } } package.json (frontend project): ... "scripts": {

Windows authentication is not challenging browsers out of the domain

可紊 提交于 2020-01-13 19:56:06
问题 I have a web application that allows anonymous access and windows authentication. Basically, the app try to auto-login users by windows authentication if the windows user is in a user list in the application, otherwise it shows the login screen. If no credential is provided, the app then shows a login screen where the user could login using a application internal user. As far as I know, Windows Authentication is a challenging protocol, so I have to return an Unauthorized in order to force the

Windows Authentication and Forms Authentication together for ASP.NET

只愿长相守 提交于 2020-01-12 09:52:06
问题 I am developing an internally-facing application that needs to automatically authenticate users via Windows Authentication and fall back to Forms authentication. The fall back would occur in situations where the user on a computer logged in as a group account (such as an operations center). I'm concerned about security where a user could "spoof" the Windows Authentication account. Do any of you all know of a design pattern and pragmatic idea that would fit this specific scenario? Technical