Re: Windows Authetication vs seperate process

2006-12-20 Thread Roger Upole

[EMAIL PROTECTED] wrote:
>I was wondering of someone could steer me in the right direction.
>
> We have a package that we would like to "secure" so that only specific
> individuals can access specific portions of the application.  Our
> wxPython application will revolve around updating a central database
> with information submitted from the app.  We will eventually have a web
> front end fo rsome aspects of the app.
>
> With several packages I have seen options to "Use Windows
> Authentication", which seems to mean that "If the user has
> authenticated and signed onto Windows, then our application will use
> their windows userid and we will just focus on the the tasks within our
> application the user is authorized to perform"
>
> Does anyone have any experience using this type of authentication
> scheme ?
>
> Any related tips or suggestions ?
>
> I have found a few wikipedia entries, but they seem to be more related
> to webpages, etc.
>
> Thanks.
>

The pywin32 package includes the functions needed to do this type of
authentication.  See \win32\Demos\security\sspi for some examples that
work out of the box with NTLM.

 Roger




== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet 
News==
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ 
Newsgroups
= East and West-Coast Server Farms - Total Privacy via Encryption =
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Windows Authetication vs seperate process

2006-12-18 Thread Jonathan Curran
On Monday 18 December 2006 10:24, [EMAIL PROTECTED] wrote:
> I was wondering of someone could steer me in the right direction.
>
> We have a package that we would like to "secure" so that only specific
> individuals can access specific portions of the application.  Our
> wxPython application will revolve around updating a central database
> with information submitted from the app.  We will eventually have a web
> front end fo rsome aspects of the app.
>
> With several packages I have seen options to "Use Windows
> Authentication", which seems to mean that "If the user has
> authenticated and signed onto Windows, then our application will use
> their windows userid and we will just focus on the the tasks within our
> application the user is authorized to perform"
>
> Does anyone have any experience using this type of authentication
> scheme ?
>
> Any related tips or suggestions ?
>
> I have found a few wikipedia entries, but they seem to be more related
> to webpages, etc.
>
> Thanks.

Using windows authentication IMHO should only be used if there is an Active 
Directory/LDAP server set up against which the users are authenticated. I 
googled for 'active directory python' and came across 
http://tgolden.sc.sabren.com/python/ad_cookbook.html It seems to be very 
simple to use.

If I were to implement an authentication system like you want. I would:
1. Check to see if the local machine was part of a domain. If not then inform 
the user that they need to be.
2. Check to see if the user who ran the application is part of a specific 
group in AD.

I would assign each group a certain 'level' of privilege and accordingly let 
the user do what they should be able to do.

I hope this is a good starting point.

- Jonathan Curran
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Windows Authetication vs seperate process

2006-12-18 Thread Gabriel Genellina

At Monday 18/12/2006 13:24, [EMAIL PROTECTED] wrote:


With several packages I have seen options to "Use Windows
Authentication", which seems to mean that "If the user has
authenticated and signed onto Windows, then our application will use
their windows userid and we will just focus on the the tasks within our
application the user is authorized to perform"


Search for SSPI. But it may be a bit tricky to get running.


--
Gabriel Genellina
Softlab SRL 


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
-- 
http://mail.python.org/mailman/listinfo/python-list

Windows Authetication vs seperate process

2006-12-18 Thread imageguy1206
I was wondering of someone could steer me in the right direction.

We have a package that we would like to "secure" so that only specific
individuals can access specific portions of the application.  Our
wxPython application will revolve around updating a central database
with information submitted from the app.  We will eventually have a web
front end fo rsome aspects of the app.

With several packages I have seen options to "Use Windows
Authentication", which seems to mean that "If the user has
authenticated and signed onto Windows, then our application will use
their windows userid and we will just focus on the the tasks within our
application the user is authorized to perform"

Does anyone have any experience using this type of authentication
scheme ?

Any related tips or suggestions ?

I have found a few wikipedia entries, but they seem to be more related
to webpages, etc.

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list