Re: Client/server application and Windows Integrated Auth
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 02/02/05
- Next message: menkaur: "RE: How to copy file with security attributes"
- Previous message: Joubert: "Re: Client/server application and Windows Integrated Auth"
- In reply to: Joubert: "Re: Client/server application and Windows Integrated Auth"
- Next in thread: Pavel Lebedinsky: "Re: Client/server application and Windows Integrated Auth"
- Reply: Pavel Lebedinsky: "Re: Client/server application and Windows Integrated Auth"
- Reply: Joubert: "Re: Client/server application and Windows Integrated Auth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 1 Feb 2005 23:03:05 -0600
Why not let the datastore authenticate the user and do the authorization
then? Like some others have pointed out on this thread, doing authorization
on the client might be potentially dangerous. If the user is an admin and
can attach a debugger, they can do whatever they want to your code. They
can't do this to the server though.
Hacking the kernel mode security stuff on the workstation is actually fairly
hard to do (overcoming file ACLs and stuff that is protected by kernel
objects), but all bets are still off if the local user is an admin.
It really depends on how important it is that your security can't be hacked
(what is the real threat) and what your deployment environment is like, but
remember that people put security on the server and try to keep others from
running debuggers on it for a reason.
Joe K.
>
> The setup I described does not involve a server component - i.e. there is
> no
> webserver. There is only a client application (i.e. WinForms) than
> connects
> directly to the datastore, i.e. the client application does the
> authentication.
>
> So my thinking is that since the application's execution environment
> cannot
> be controlled you cannot merely rely on the fact that a "DOMAIN\username"
> is
> authenticated since the application can be put in a domain with the same
> name
> and run by a user with the same username.
>
> Does this make more sense?
>
> Cheers
> Joubert
>
- Next message: menkaur: "RE: How to copy file with security attributes"
- Previous message: Joubert: "Re: Client/server application and Windows Integrated Auth"
- In reply to: Joubert: "Re: Client/server application and Windows Integrated Auth"
- Next in thread: Pavel Lebedinsky: "Re: Client/server application and Windows Integrated Auth"
- Reply: Pavel Lebedinsky: "Re: Client/server application and Windows Integrated Auth"
- Reply: Joubert: "Re: Client/server application and Windows Integrated Auth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|