Send an encrypted WindowsIdentity and decrypt it back in asp.net
<p>I'm using a windows authentication in my web application and I want to prevent the app from asking the user for credentials, if the user can give its credentials through the URL (encrypted). </p>

<p>I'm not sure whether I need to use windowsIdentity object or not, but if I do:</p>

<p>The windowsIdentity of the user is not always the one I need to use (like using one identity for windows and a second identity foe some tasks). In that case, the authentication fails and a logIn prompt. </p>

<p>I'd like to avoid that by sending the right credentials by creating a windowsIdentity from one place (where the URL is created, with all the right parameters) and use it in my application (I assume in the PageLoad function).</p>

<p>If there is a better solution please feel free to share!</p>

<p>I'd appreciate your help here :-)</p>

<p>Yael.</p>
