permissions - Check if user is allowed to see the web page in asp.net -
depending on user permissions pages available him, , others not.
created base page inherits system.web.ui.page, , pages inherit page.
in page_load event (of our base pages class) check if user allowed view page.
if not redirect page says not allowed (response.redirect).
is approach or there better?
note:
thanks suggestions, asp.net membership not option requirements :(. sorry.
check out asp.net membership, read article on msdn: introduction membership. don't want re-invent wheel. membership let control locations, files, folders etc on roles / users.
it's powerfull mechanism
here usefull links:
Comments
Post a Comment