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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -