Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - give access to google only
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

give access to google only

 Post Reply Post Reply
Author
narang.mohit View Drop Down
Newbie
Newbie


Joined: 03 August 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote narang.mohit Quote  Post ReplyReply Direct Link To This Post Topic: give access to google only
    Posted: 03 August 2007 at 10:03am
hi i want that only google will access my forum actually i restrict user(who are not registred in my forum) to access the forum without registration
i want that only google can access the forum
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2007 at 2:45pm

Create a robot file and customize it to allow google and disallow others: http://www.google.com/search?hl=en&q=create+robot+file

"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
the boss View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 January 2003
Location: Saudi Arabia
Status: Offline
Points: 1727
Post Options Post Options   Thanks (0) Thanks(0)   Quote the boss Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2007 at 5:14am
and use useragent filter in HTTP server tags

Back to Top
peter123 View Drop Down
Newbie
Newbie


Joined: 18 March 2007
Location: Slovenia
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote peter123 Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 2:14pm
Originally posted by Info_Tech Info_Tech wrote:

Create a robot file and customize it to allow google and disallow others: http://www.google.com/search?hl=en&q=create+robot+file

How could I customize the robot.txt to allow google?

Edited by peter123 - 08 August 2007 at 9:21pm
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2007 at 1:27am
Originally posted by peter123 peter123 wrote:

How could I customize the robot.txt to allow google?
 
By default, everyone is allowed, including google.
 
However, if you want to disallow someone specific, for example Yahoo! then you can do this:
 
# robots.txt file for my website
# feel free to contact us @....
User-agent: Yahoo
Disallow: /
In the above example yahoo will be disallowed from viewing the entire site... if you want it to be disallowed from only one folder then you can sepcify just that one folder's path.
For example: disallow /temp
this will prevent yahoo from viewing the temp folder.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
peter123 View Drop Down
Newbie
Newbie


Joined: 18 March 2007
Location: Slovenia
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote peter123 Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2007 at 7:23am
ok...but..I want that google as guest can see the data on forum, which are hidden for nonregister user.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2007 at 9:56am
That you will need to post a support question in the support forum.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2007 at 12:33pm
you could create a user called "GoogleBot" and check the User Agent if it contains googlebot then "log them in".

and give them read access but not post access.

though it could potentially be 'hacked' as all someone needs to do is change their user agent. or by viewing the cached page
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.