Tags:
create new tag
view all tags

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

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- BhargaviMuppall - 01 Apr 2008

Answer

ALERT! 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:

  1. Your Firewall configuration.
  2. Your Web Server configuration.
  3. Twiki configurations.

Who is best suited for the task, is upon three other things:

  1. The needs of the problem.
  2. Your familiarity with those tools.
  3. 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-04-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.