Rane (rane500) wrote in lj_dev,
Rane
rane500
lj_dev

  • Mood:

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.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 12 comments