then they will need a page on your domain if the domains don't match you get a js error so to bypass your security it would have to be some1 on your domain,
you can try it with a page doing the same js from a different domain. Kind Regards. Ruben Decleyn On Tue, Aug 31, 2010 at 12:59 PM, marie_dk <[email protected]> wrote: > > > On 30 Aug., 15:34, Ruben Decleyn <[email protected]> wrote: > > Ah > > > > i think you can use the session control for it > > what i would do tho is have on top of the page something like > > > > <?php > > if($_SESSION['uid']==0 or empty($_SESSION['uid']) > > { > > header("Location: login.php"); > > > > } > > > > Yes, but what if somebody bypasses my php application .... that is why > I want the APE server to be able to protect itself from unauthorized > use at the server side. > > > ?> > > > > ofc there are many ways to do that but that's the most basic imo. > > while your at sessions you should look into : > http://www.ape-project.org/wiki/index.php/Tutorial:Using_sessions > > Yes, I will definitely use sessions to hold a few values while the > user is online. > > /marie_dk > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
