title: Share Credentials between ASP.NET website and SharePoint 2007
body: <p>Here is my problem :    </p>
  
  <p>1) I have an ASP.NET website which is the main entry point in the application.<br>
  This website uses Forms authentication, which validates credentials (username/password) against a database.  </p>
  
  <p>2) Once logged on the website, the user is displayed a page containing several links which point to a Sharepoint 2007 application, where authentication is managed by an Active Directory.  </p>
  
  <p>3) Every user in the Active Directory is duplicated in the database managing the ASP.NET website authentication.  </p>
  
  <p>4) The ASP.NET website and the SP 2007 application are <strong>NOT</strong> on the same domain.  </p>
  
  <p>The problem we are facing is that the users first have to enter their credentials to access the ASP.NET website. Then, clicking on a link pointing on the SP 2007 application, they're prompted another .htaccess-like window in order to authenticate them against the Active Directory.  </p>
  
  <p>The question is :<br>
  Is it possible to kind-of <em>pass</em> the credentials the user first entered to access the ASP.NET website in the HTTP context so that when he clicks on a link pointing to SP 2007, he's not asked to enter his credentials again ?<br>
  I've already successfully validated credentials against an AD, but I'm stuck at where do I have to extend the ASP.NET authentication process so I can inject the SP-related domain credentials into the context.  </p>
  
  <p>Hope I was clear, feel free to ask for more information if needed.<br>
  And just to be clear, bypassing the first step (ASP.NET website authentication) is mandatory :-)</p>
  
  <p>Thanks everyone,<br>
  Mick</p>