
Signature
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
Joe,
We can't use integrated windows authentication. I mistook in my
question:
"User credentials come from a Windows domain" should be "User
credentials do NOT come from a Windows domain". User accounts are
stored in a custom-built database of a legacy application.
Thanks,
Buu
On Feb 29, 3:06 am, "Joe Kaplan"
<joseph.e.kap...@removethis.accenture.com> wrote:
> Can you use integrated windows authentication for this? That is by far the
> easiest thing to do.
[quoted text clipped - 38 lines]
> > Regards,
> > Buu
Joe Kaplan - 29 Feb 2008 14:30 GMT
In that case, you probably won't be able to take advance of HTTP-based
authentication. For web apps, you generally must then resort to using a
combination of cookies and/or query strings to convey auth info. For the
web app, starting with something like ASP.NET forms authentication is
probably the right way to go. From there, you will likely need to perform
some significant customizations to be able to use the same type of pattern
with your Windows Forms app.
It sounds like it will probably be a bit complicated.
Also remember that it can be difficult to ensure the security of a system
with measures implemented at the client. It is frequently the case that you
must make sure you enforce all security measures at the server to be safe.
Best of luck!
Joe K.

Signature
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
> Joe,
>
[quoted text clipped - 54 lines]
>> > Regards,
>> > Buu
jp2msft - 13 Mar 2008 18:41 GMT
This might just be another hack, but what about this:
User logs into your web service through the database which sets a
flag/boolean value for that user. As long as the flag is set, the windows
application is allowed.
A session variable could be enabled on your web page, so that when the user
closes his web browser, the session is distroyed ...or the session could have
a timeout feature.
Would that work?
> Joe,
>
[quoted text clipped - 52 lines]
> > > Regards,
> > > Buu