简体   繁体   English

如何在C#中模拟没有密码的Windows身份验证登录用户

[英]How to impersonate windows authenticated login user without password in c#

如何在Windows身份验证应用程序C#中模拟没有密码的用户?

All users have passwords. 所有用户都有密码。

From your comments on the main thread, you mention that the application is taking only a service account. 在对主线程的评论中,您提到该应用程序仅使用一个服务帐户。 This is not uncommon. 这并不罕见。

In an ideal scenario, your organization will have created a separate service account specifically for testing. 在理想情况下,您的组织将创建一个单独的服务帐户专门用于测试。 The name and password for that account will be known to the development team, so that they can be provided during development and testing. 该帐户的名称和密码将为开发团队所知,以便在开发和测试期间提供它们。

If this is not the case, you may be using a production user account, and it becomes difficult to distinguish between activity performed during development and release. 如果不是这种情况,则您可能正在使用生产用户帐户,并且很难区分在开发和发布期间执行的活动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows服务是否可以在没有密码的情况下模拟用户? - Is it possible for a Windows service impersonate a user without a password? C# 如何在分布式系统上模拟 windows? - C# How to windows impersonate over distributed system? 如何在 C# 中模拟另一个用户进行 DCOM 连接? - How to impersonate another user for a DCOM connection in C#? c# microsoft graph - 如何在没有登录名和密码的情况下进行身份验证? - c# microsoft graph - how to authenticate without login and password? 需要帮助为 C# web 应用程序配置 IIS 身份验证以确保它模拟用户 NT 登录访问 - Need help on configure IIS authentication for C# web application to make sure it impersonate user NT login access c#表单身份验证后模拟用户 - c# Impersonate user after forms authentification 以编程方式在Sharepoint 2013上模拟用户(C#) - Impersonate user programmatically on Sharepoint 2013 (C#) 用户通过身份验证后触发事件-Windows身份验证C# - Fire event after user is authenticated - windows authentication c# 如何在C#Web API同步和异步中获取Windows身份验证用户 - How to get Windows Authenticated user in C# Web API sync and async 如何在 C# 中作为另一个用户创建一个没有密码的进程? - How to create a process as a another user without a password in C#?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM