I figured it out on my own... a couple of days later.  When the user
establishes the vpn connection, I mapped the network drives, then
wrote registry values to include the intranet sites in trusted sites
in internet explorer.  I then used cmdkey to create stored usernames
and passwords that are used on those sites.  When the user logs off I
delete them all.  Anything more specific feel free to contact me

On Feb 19, 11:08 am, jimmysjams <[email protected]> wrote:
> I forgot to mention the application is written in C#
>
> On Feb 18, 1:48 pm, jimmysjams <[email protected]> wrote:
>
>
>
> > I've written a desktop app that logs in a domain user on a non domain
> > computer over a vpn.  It maps network drives correctly but I was
> > wondering if there was a way to prevent the user from having to enter
> > their username and password a second time when they open company web
> > pages?
>
> > More specifically, some of our sites use windows authentication and
> > active directory to determine what a user has access to.  I can add
> > the sites to the trusted sites list in Internet Explorer, which
> > prevents them from having to log in twice, but it doesnt show all of
> > the information they have access to.
>
> > I've tried impersonation(http://msdn.microsoft.com/en-us/library/
> > system.security.principal.windowsidentity.impersonate(VS.71).aspx) but
> > I get an invalid username and password error.  Regardless, how do I
> > get the computer to pass the correct credentials to intranet sites?
> > Any help will be greatly appreciated.- Hide quoted text -
>
> - Show quoted text -

Reply via email to