Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: MH-MINI on July 10, 2010, 06:13:46 AM

Title: Banned users and SSI
Post by: MH-MINI on July 10, 2010, 06:13:46 AM
Hello,

If a banned user (eg. by IP address) visits a page that uses SSI and displays content from SMF, then what will they see?

Thanks
Title: Re: Banned users and SSI
Post by: xenovanis on July 10, 2010, 05:12:05 PM
Banned users can see SSI included in non forumpages. If you want to disable that, see here:
http://www.simplemachines.org/community/index.php?topic=356089.msg2422033#msg2422033
http://www.simplemachines.org/community/index.php?topic=13205.msg131477#msg131477
Title: Re: Banned users and SSI
Post by: MH-MINI on July 11, 2010, 12:02:08 AM
Thanks for your reply.

I tried that and put this at the top of the page

<?php
$ssi_ban
= 1;
require(
"forum/SSI.php");
?>


but still banned users can see the page.

You see, I've banned this proxy and yet I can still access the main page (but not the actual forum) through it. http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.thismeanslove.com
Title: Re: Banned users and SSI
Post by: xenovanis on July 11, 2010, 06:11:36 AM
Can they see the whole page including the SSI or only the parts not containing SSI?
Title: Re: Banned users and SSI
Post by: MH-MINI on July 11, 2010, 10:29:28 AM
Quote from: xenovanis on July 11, 2010, 06:11:36 AM
Can they see the whole page including the SSI or only the parts not containing SSI?
The whole page including the SSI. See that proxy link. I've banned that proxy (check by clicking on the 'Forum' link) yet it can see the main page (the posts are from SSI).
Title: Re: Banned users and SSI
Post by: spottedhog on July 11, 2010, 10:37:51 AM
This:
$ssi_ban = true;
...works for me.
Title: Re: Banned users and SSI
Post by: MH-MINI on July 12, 2010, 01:10:05 AM
Quote from: spottedhog on July 11, 2010, 10:37:51 AM
This:
$ssi_ban = true;
...works for me.
That works like a charm.

Thank you :)
Title: Re: Banned users and SSI
Post by: xenovanis on July 12, 2010, 08:12:18 AM
Great. I'll remember that  :)

Marking this solved.
Title: Re: Banned users and SSI
Post by: NanoSector on July 12, 2010, 08:33:25 AM
Quote from: xenovanis on July 12, 2010, 08:12:18 AM
Great. I'll remember that  :)

Marking this solved.
Ow I wanted to do that >:(