14 Sep
2004
14 Sep
'04
10:42 p.m.
hi, Is it possible to have a script that can not be called by users: http://www.foo.com/myscript but can be called by other scripts? J.
15 Sep
15 Sep
7:08 p.m.
New subject: [Zope] Script Security
Jason Leach wrote at 2004-9-14 15:42 -0700:
Is it possible to have a script that can not be called by users: http://www.foo.com/myscript but can be called by other scripts?
You could add to your script: if container.REQUEST['PUBLISHED'] == script: # the script was called directly via the Web raise 'Unauthorized' I think that I also saw another solution in the mailing list but do not remember the details. Your must search for it. -- Dieter
7873
Age (days ago)
7874
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Jason Leach