• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with role based authentication

#11
[eluser]jbreitweiser[/eluser]
Both techniques should be used. Do not show people buttons there not supposed to use because they will try them, even if it is just to see what it does. But you should also throw an error on the page because you can alway dummy up a post that simulates clicking the button with some common tools from the internet.

#12
[eluser]Udi[/eluser]
Don't show the button, and inside the controller check if the user can access this page.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.