• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Provide nice redirection if lacking privileges (wincent.dev, 0e41246)

Created 1/25/2008, updated 3/12/2024
  • snippets

Redirect the user to the login page if they request something for which they don't have privileges.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Updates for session fixation attacks (wincent.dev, ba7907d)
Pretty permalinks for locales (wincent.dev, 2fccd09) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).