hiding includes from webacces
Hello, Is there a way to deny direct access to Objects, but allow them to be included into other documents? I have tried to setup a role "include" and set my index_html to proxy to this rule, but it did not work. i am trying to forbid direct access to includes. E.g: http://foo/standard_html_header should not be allowed, because standard_html_header is not a full page, but it is included in every page. Thank you in advance Nils Decker
Nils Decker wrote:
Is there a way to deny direct access to Objects, but allow them to be included into other documents? I have tried to setup a role "include" and set my index_html to proxy to this rule, but it did not work.
This is something I've been looking to do since I first started usign Zope abotu a year and a half ago :-( Anyone got any ideas, I'd love to hear them... cheers, Chris
Chris Withers wrote:
Nils Decker wrote:
Is there a way to deny direct access to Objects, but allow them to be included into other documents? I have tried to setup a role "include" and set my index_html to proxy to this rule, but it did not work.
This is something I've been looking to do since I first started usign Zope abotu a year and a half ago :-(
Anyone got any ideas, I'd love to hear them...
cheers,
Chris
I agree this is a feature Zope lacks that would be nice. I think a new permission such as "Access through the web" or some such would be the ticket. It would require tinkering with ZPublisher, but I don't think it would be entirely all that difficult. I'll try to find some time to test this theory... 8^) -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
Casey Duncan wrote:
I agree this is a feature Zope lacks that would be nice. I think a new permission such as "Access through the web" or some such would be the ticket. It would require tinkering with ZPublisher, but I don't think it would be entirely all that difficult. I'll try to find some time to test this theory... 8^)
Hmmm, good luck... I'd suggested this before but been poo poo'ed so many times I've given up asking :-S Chris
participants (3)
-
Casey Duncan -
Chris Withers -
Nils Decker