August 13th, 2004

  • rane500

Security checking

I asked this in the ljdesigners community, but it might be a bit technical for that forum - no one replied.

Okay, maybe I'm missing something - I've scanned all of the S2 documentation wherever I can find it and the community memories - I don't see any reference to checking security. A true/false S2 variable on whether or not the viewer is allowed to see the content in question.

What's going on: I've mentioned I'm doing a layout from scratch. If you flip through entries and hit one you are not allowed to view, it gives the standard HTML 403 error page, NOT a LiveJournal page. This could be very confusing to some users, not to mention the hassle of not having any links from that error page. I need to be able to check for permission to view and return either my own error page or the standard LJ error page.

Thoughts? Thanks in advance.
  • Current Mood
    curious curious