Hi all,
my employer wants to restrict MSN access in order to
improve productivity. We've decided to deploy an
internal Jabber server (Wildfire) and only allow a few
select people to use MSN. MSN traffic will be stopped
at the firewall, except for the Jabber server.
Question is, does PyMSNt support user authorization
lists, so that I can provide a list of MSN user IDs I
want to authorize? I looked around and found none, so
I did a quick dirty hack around line 339 of
src/tlib/msn/msn.py
-----8<-cut-cut-cut--
def __init__(self, deferred, userHandle, passwd,
host, authData):
acl = ['[EMAIL PROTECTED]',
[EMAIL PROTECTED]']
self.deferred = deferred
self.userHandle = userHandle
if acl.count(userHandle):
self.passwd = passwd
else:
self.passwd = userHandle
self.authData = authData
self.host, self.path =
_parsePrimitiveHost(host)
-----8<-cut-cut-cut--
I know this is crude and ugly, but it gets the job
done, i.e., only the people that REALLY REALLY need to
have MSN get to connect to it using the transport. Is
there a better way to do it? Regards,
Georger
_______________________________________________________
O Yahoo! est? de cara nova. Venha conferir!
http://br.yahoo.com/preview
From [EMAIL PROTECTED] Mon Jul 24 15:31:00 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Mon Jul 24 15:31:13 2006
Subject: [py-transports] Only allowing certain users to use the transport
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 7/24/06, Georger Araujo <[EMAIL PROTECTED]> wrote:
> Hi all,
> my employer wants to restrict MSN access in order to
> improve productivity.
On this note, would it be possible to white-list MSN addresses? So
that we can enable all of our client's addresses, but block access to
non-work related MSN addresses?
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED] Mon Jul 24 19:24:31 2006
From: [EMAIL PROTECTED] (x)
Date: Mon Jul 24 19:24:42 2006
Subject: [py-transports] Only allowing certain users to use the transport
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Hi Norman,
i use ejabberd and with this i can configure access
rules so i can restrict which users can use msn
gateway.
Marcos
--- Norman Rasmussen <[EMAIL PROTECTED]>
escreveu:
> On 7/24/06, Georger Araujo <[EMAIL PROTECTED]>
> wrote:
> > Hi all,
> > my employer wants to restrict MSN access in order
> to
> > improve productivity.
>
> On this note, would it be possible to white-list MSN
> addresses? So
> that we can enable all of our client's addresses,
> but block access to
> non-work related MSN addresses?
>
> --
> - Norman Rasmussen
> - Email: [EMAIL PROTECTED]
> - Home page: http://norman.rasmussen.co.za/
> _______________________________________________
> py-transports mailing list
> [email protected]
>
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
_______________________________________________________
Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale
o discador agora!
http://br.acesso.yahoo.com
From [EMAIL PROTECTED] Mon Jul 24 23:55:45 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Mon Jul 24 23:56:01 2006
Subject: [py-transports] Only allowing certain users to use the transport
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 25/07/2006, at 1:31 AM, Norman Rasmussen wrote:
> On 7/24/06, Georger Araujo <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> my employer wants to restrict MSN access in order to
>> improve productivity.
>
> On this note, would it be possible to white-list MSN addresses? So
> that we can enable all of our client's addresses, but block access to
> non-work related MSN addresses?
>
> --
> - Norman Rasmussen
> - Email: [EMAIL PROTECTED]
> - Home page: http://norman.rasmussen.co.za/
Neither of these would be too hard to do.
At the moment only option (aside from editing code) is to enable
<allowRegister/> let the users register, then disable <allowRegister/
> in the config file.
---
James