If you are using apache, you can do in your httpd.conf
<Location /pspfiles> Deny from all </Location>
That assumes that pspfiles is a directory directly in your htdocs. You can also prevent access to subdirectories with <Location /dir1/dir2/psp> and so on. M.
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? Thanks, steve
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
-- Michael Palmer Department of Chemistry University of Waterloo 2oo University Ave West Waterloo, ON N2L 3G1 Canada Phone 519 888 4567 ext 5100 Fax 519 746 0435 Office ESC 234 Lab C2-360 Web http://sciborg.uwaterloo.ca/~mpalmer/
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss