Hi ! Thanks;Just not what I've expected ... :-( I am too new to linux programming to understand the big picture :-(
Naturally, running apache/mod_mono as root is completely indiscutable. So, I'll create a helper daemon and make IPC to it via remoting. Thanks anyway, br++mabra -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Jordan Sent: Friday, December 03, 2010 12:49 PM To: [email protected] Subject: Re: [Mono-aspnet-list] Impersonation for special pathes On 02.12.2010 21:02, [email protected] wrote: > Hi All ! > > To allow some system near function, I need a prived user. > With windows, I use imperonation in asp.net, defined > in the 'web.conf', under special 'location' tags. > > Is this just the same way with mono/linux [so far > I would currently not know any method to impersonate > in code]. Mono does not support impersonation because it would be pretty limiting and insecure under Unix. Under Unix only root is permitted to impersonate. Since Apache workers and thus mod-mono-server (the ASP.NET host) are running under an unprivileged user account, impersonation is simply impossible. Running Apache workers as root is not recommended. Robert _______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list _______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
