Access SSI page as guest when guest browsing is disabled

Started by Colin, April 09, 2013, 02:55:51 AM

Previous topic - Next topic

Colin

I have a interesting dilemma. I have a script that uses SSI with a forum that needs to have guest browsing disabled. I want guests to be still access the SSI script though. Is there a way to facilitate the requests just to the SSI page by guests?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

All Colours Sam

You can remove any permissions on this script but if your script deals with or show messages or topics you will still face some issues.

It all depends on what exactly your script does.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Colin

Yep, that would be fine. It is purely for using the SMF authentication.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

All Colours Sam

If its the ssi function for login then it will show the form regardless if your forum cannot be seen by guest.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Arantor

$ssi_guest_access is your friend.

Also, I have to say, I was never very fond of this approach. I made sure not to do the same in my own setup.
Holder of controversial views, all of which my own.


Colin

Thanks,

Arantor, I completely agree, thus me never having run into it before :), but in this case it is a freak thing and I think this may be the best way to go about it.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Arantor

No, it really isn't because it means you have to go a long way around for what is supposed to be an external bridging tool.

In my setup, I didn't add $ssi_guest_access at all. I set it up so that each function would check, and exit safely if no guest access - what that means is I don't have to remember to use an otherwise undocumented parameter to handle site integration like that.
Holder of controversial views, all of which my own.


Advertisement: