access cvsweb thru Zope
Hi, I'm trying to find a way to use perl cvsweb CGI script via Zope. The main reason for this - use powerful auth means that Zope has. Our CVS repository is partitioned on project basis using standard UNIX mechanism (owner/group/perm). So I can't simply run cvsweb from anonymous user --- it won't has required permissions. I (probably) need to auth user first (thru Zope) and then run cvsweb.cgi from that user. Does anyone do something similar? Is it possible at all? AFAIU I should grok External Method first. -- Rgrds, Max Ischenko
On Wed, 9 Jan 2002, Max Ischenko wrote:
Hi,
I'm trying to find a way to use perl cvsweb CGI script via Zope. The main reason for this - use powerful auth means that Zope has. Our CVS repository is partitioned on project basis using standard UNIX mechanism (owner/group/perm). So I can't simply run cvsweb from anonymous user --- it won't has required permissions.
I (probably) need to auth user first (thru Zope) and then run cvsweb.cgi from that user.
Does anyone do something similar? Is it possible at all? AFAIU I should grok External Method first.
I'm trying to do something similar, but I don't know what I'm doing. I've tried to call the CGI link with dtml-with and dtml-var, no soap. I think a frameset would work, but I don't want to do that if I don't have to. -- Jack Coates Monkeynoodle: A Scientific Venture...
On Wednesday 09 January 2002 10:01 am, Jack Coates wrote:
I'm trying to do something similar, but I don't know what I'm doing. Take a look over the ZCVS.
I've tried to call the CGI link with dtml-with and dtml-var, no soap. I think a frameset would work, but I don't want to do that if I don't have to. AFAIK, there is some CGI gateway on zope.org. I tried develop even an Zope product, which is in deep alpha stage somewhere in my FTP: no cookies support, no user any interface, etc. But it even works. Sometimes. :)
P.S. CGI is legacy stuff IMHO. -- Bogdan M.Maryniuck
On Wed, 9 Jan 2002, Bogdan M.Maryniuck wrote:
On Wednesday 09 January 2002 10:01 am, Jack Coates wrote:
I'm trying to do something similar, but I don't know what I'm doing. Take a look over the ZCVS.
I've tried to call the CGI link with dtml-with and dtml-var, no soap. I think a frameset would work, but I don't want to do that if I don't have to. AFAIK, there is some CGI gateway on zope.org. I tried develop even an Zope product, which is in deep alpha stage somewhere in my FTP: no cookies support, no user any interface, etc. But it even works. Sometimes. :)
P.S. CGI is legacy stuff IMHO.
Okay, I'll bite -- what's a better way to call an external binary? The task is to develop a web interface to programs like tcptraceroute. thanks, -- Jack Coates Monkeynoodle: A Scientific Venture...
On Wednesday 09 January 2002 10:13 am, Jack Coates wrote:
Okay, I'll bite -- what's a better way to call an external binary?
External Method, of course. It's even better: in security meaning CGI is outsider IMHO. -- Bogdan M.Maryniuck
I'm trying to find a way to use perl cvsweb CGI script via Zope. The main reason for this - use powerful auth means that Zope has. Our CVS repository is partitioned on project basis using standard UNIX mechanism (owner/group/perm). So I can't simply run cvsweb from anonymous user --- it won't has required permissions.
I (probably) need to auth user first (thru Zope) and then run cvsweb.cgi from that user.
Does anyone do something similar? Is it possible at all? AFAIU I should grok External Method first.
Related question. How I can auth. user in External Method? -- Rgrds, Max Ischenko
Quoting Max Ischenko <max@malva.ua>:
Related question. How I can auth. user in External Method?
Look here: self.ZopeContext.REQUEST.AUTHENTICATED_USER -- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT Sincerely yours, Bogdan M.Maryniuck
Hi, Max Ischenko <max@malva.ua>, bogdan@iuveno-net.de, zope@zope.org. You wrote:
Quoting Max Ischenko <max@malva.ua>:
Related question. How I can auth. user in External Method?
Look here: self.ZopeContext.REQUEST.AUTHENTICATED_USER
OK, thanks. -- Rgrds, Max Ischenko
participants (4)
-
Bogdan M.Maryniuck -
bogdan@iuveno-net.de -
Jack Coates -
Max Ischenko