Using forms auth, can I return a 404 from a inaccessible page, rather than redirecting to the login
Posted
by Deane
on Stack Overflow
See other posts from Stack Overflow
or by Deane
Published on 2010-05-15T21:28:32Z
Indexed on
2010/05/15
21:34 UTC
Read the original article
Hit count: 223
forms-authentication
|formsauthentication
Using forms authentication, is it possible to return a 404 if a user doesn't have access to content, rather than redirecting them somewhere?
I realize I could send them to a 404-ish page, or redirect to a login page that doesn't exist, but I really want to return a 404 from the page they were attempting to access.
Possible?
© Stack Overflow or respective owner