Question
I just want to allow only one ipaddress
to access my twiki page.Rest of all i need to block from accessing the twiki page.Can this be done?
Can i leave the balcklist as balnk and put the ip adrress that i want to acces the page in the white list.
Will that work?
Environment
--
BhargaviMuppall - 01 Apr 2008
Answer
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.
There is lot of ways of doing what you want, based on:
- Your Firewall configuration.
- Your Web Server configuration.
- Twiki configurations.
Who is best suited for the task, is upon three other things:
- The needs of the problem.
- Your familiarity with those tools.
- Your concern about future changes.
Personally, I see no use of twiki as you require, but anyway, I would
go upon the firewall configuration (in my linux-box, using iptables).
--
MarcoSilva - 01 Apr 2008
There is no firewall i am talking of.
i just want a single IP address to acess my site and block rest all.
How do i do that? I just had an option to put a single ip address in the white list and leave black list as blank.
Will that work as i want? Basically i am trying to make use of
BlackListPlugin.
Please do respond.
Thank you in advance.
--
BhargaviMuppall - 02 Apr 2008
No need to use the BlackListPlugin. You can use an Apache directive. If you are using
.htaccess files in your
twiki/bin/ and
twiki/pub you can add this:
Order deny,allow
Deny from all
Allow from 12.34.56.78
Alternatively, do these setting in the respective directory settings in the Apache conf file.
See more at
http://httpd.apache.org/docs/2.0/howto/auth.html
--
PeterThoeny - 03 Apr 2008