Steven Arnold wrote:
> I have PSP files I would like to store outside the HTDOCS tree, and
> include them into pages when needed. Default Webware does not seem to
> support this. I need this because I don't want people to load those
> PSP snippets individually; I don't want to have to do security checks
> on every little PSP snippet to see whether the user is authorized to
> load that page....
> Is there a good Webware solution for this?
Here's an option: Make your include files have a different suffix such as
.pspi and add .pspi to the FilesToHide setting in Application.config. I
just tried it and it works for me -- I can't access the files directly but
they can still be included, as long as you are using the
syntax to include the files.
From: Steven Arnold <stevena@ne...> - 2005-03-16 12:44:10
On Mar 15, 2005, at 5:38 PM, Geoffrey Talvola wrote:
> <%@include file="includefile.pspi"%>
This approach seems to work for psp files outside the htdocs tree; I
specified them using:
My previous approach, using <psp:include>, did not work. Thanks for
the tip, and thanks for the other suggestions from the list as well.
Get latest updates about Open Source Projects, Conferences and News.