Windows Authentication in ASP.NET
Hi, is there any way to use windows authentication in ASP.NET without needing a windows account? I need a virtual directory to be passworded using the browser authentication prompt. ...
Hi, is there any way to use windows authentication in ASP.NET without needing a windows account? I need a virtual directory to be passworded using the browser authentication prompt. ...
Hi guys I have a website that I am working on that has both an intranet and internet deployment. The only difference between the 2 is a couple of config settings. The internet version works fine as it just uses forms authentication (which is defined in its web config) and if not logged in the user is directed to a login page. The intr...
Hi there, I have a local site (IIS6, although similar issue with a totally different site using IIS5.1) which uses integrated windows authentication, from what I can tell - using IE7 if a user enters the URL into the address bar, everything works OK and the user is logged in automatically. However, if the user clicks on a hyperlink wi...
Hi, I have windows server 2003 machine as a part of our network. I have created an administrator user on it. Now this server system has a shared folder. I am writing a C# application which will copy some files a local system to that shared folder in the windows server 2003 machine. I have coded the file transfer code, it works fine i...
I just tried to move one of WCF service to windows authentication. using this connection string <add name="MembershipConnection" connectionString="Data Source=DBADDRESS ;Initial Catalog=aspNetMembership;Persist Security Info=True;Integrated Security=SSPI;"/> WCF service is hosted in IIS (2003) and the user I have setup under 'Directory...
Hi, we wrote a WCF service, deployed on IIS. we chose Integrated Windows Authentication. service can not be used in this case but if we can set the authentication method of the IIS virtual directory to "Anonymous" for WCF services, then the error will go away. But "Anonymous" is not acceptable for our WCF service. We have to use Integra...
I understand it was not possible to use Windows Integrated Authentication in Silverlight 2. (See related question). Does anybody know whether it's possible in Silverlight 3? ...
Hello, I've built a custom login system for my asp.net mvc 1.0 web application as I store large amounts of user data for each user (I decided against trying to add custom tables for the windows authentication due to this). The login system basically uses SQL Server (2005 or 2008) and my own database and table structure which is pretty s...
Hello, In my previous questions I was asking how to use windows authentication within my application. That is now working, users can login with there account but I have one database access scenario I can't find anything on. Basically I will have several servers and here is the problem. On some servers they will have Windows Authentica...
Super simple question from an ASP newb: I've got an internal-only ASP.NET website I'm working on that uses Windows integrated auth across the board. There are essentially three roles I want to associate with the site: user, manager, and admin. The site is open to the entire org, so anyone who is authenticated is a user, unless they are a...
I have a ASP 3.5 web forms app using windows authentication that needs to call a soap based web service (the SSRS 2005 report service) which uses integrated windows authentication. However the call to the web service from the asp backend keeps throwing a 401 error. If I turn on anonymous authenticatoin on the web service it works ok usi...
All our inhouse projects use Active Directory authentication and impersonation as this is the accepted security policy for the company. I currently have a scenario where I need to store user profile information, and I would like to use the built-in Profile Providers which is standard in ASP.Net. I've previously used this happily with Fo...
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 ...
What strategies work well for identifying the machine a user is browsing from? Assumptions: Domain User on a Domain Machine using IE and Integrated Windows Authentication with at least NTLM. This SHOULD be easy, but I can't find how you can pull this info out of Request or any other hole. Per-client certificates seems a lot of overhea...
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.ServerVariab...
In this extremely helpful summary from Mike O'Brien http://blog.mike-obrien.net/PermaLink,guid,5e975b20-7b05-472f-bd80-04028ab8b6fa.aspx he gives an overview of how IIS 7 deals with authentication for different settings (I couldn't find a similar summary for IIS 6, which is the version we are using). We have set the authentication to I...
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...
I've setup Subversion following Jeff Atwood's article at Coding Horror: Setting up Subversion on Windows. I followed the steps exactly and I have SVNSERVE now running as a service on a Windows 2003 server in our LAN. I've also installed TortoiseSVN and I've been playing with it and trying to learn more about it so I can spread the usag...
I've got a Web Setup project installing a web app. In a Custom Action, I'm executing a SQL script to build a database. Simple, mostly MS sample code. Works fine. private void ExecuteSql(string serverName, string dbName, string Sql) { System.Data.SqlClient.SqlConnection masterConnection = new System.Data.SqlClient.SqlConnection();...
Hi all, There are lots of examples of using the LogonUser Win 32 API for impersonation/delegation. What I can't seem to extrapolate from all of this is what sort of security token is returned from LogonUser when I set the logonType LOGON32_LOGON_INTERACTIVE. All I know is that it doesn't seem to work with Integrated Windows Authenticati...