SID-00187: Control access to /twiki/pub without httpd.conf
| Status: |
Answered |
TWiki version: |
4.2.0 |
Perl version: |
5.008008 (linux) |
| Category: |
CategoryAccessControl |
Server OS: |
Linux 2.6.18-53.1.14.el5pae |
Last update: |
16 years ago |
My hosting provider doesn't give me root access and therefore I can't make changes to
httpd.conf.
Unrestricted access to
/twiki/pub is not an option for my TWiki. I know it is possible to redirect
/twiki/pub/ access to the
viewfile script.
I copied the code described in the doc to a
.htaccess file but this did'nt work as
alias and
scriptalias can't be used in this context.
Is there any other way I could control access to
/twiki/pub/ using only a
.htaccess file and still use the TWiki authentication system. If possible, I would like to avoid using Apache's basic authentication.
--
GregoireLeclair - 12 Mar 2009
Discussion and Answer
Securing attachments is described at
TWikiAccessControl. Without root access I see no way to secure the attachments. Look into changing your hosting provider.
--
PeterThoeny - 13 Mar 2009
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.