TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,985
  • Total Topics: 21,321
  • Online today: 781
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 633
  • Total: 633

Security for custom pages via Article iframe

Started by SniffTheGlove, September 25, 2006, 10:54:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SniffTheGlove

Hi All,

I would like to know how to go about and set security up for custom pages.

I have an article that just includes an iframe pointing to custom.php

Whilst within TP and reading the article TP controls the security of the article (ie who can see it etc), however if someone goes to www.mydomain.com/custom.php they will see it whether they are logged in to not.

What code do I need to place into custom.php to control the security so that only TP authorised people can see it, and all others are refused or asked to log in.

I hope you understand my meanings  :)

SniffTheGlove

I have spent most of the day looking around the SMF site to try and find out the security.

I think I have done it and it does seem to work ok. I have posted a topic in http://www.tinyportal.net/smf/index.php?topic=8998.0

This website is proudly hosted on Crocweb Cloud Website Hosting.