Extending the ASP.Net Security model to use rights : Part Four - RightPermission
The RightPermission works in the background. Out of sight, out of mind and easily forgotten. But it performs the "hard" work of securing the code. The RightPermission clips in at just over 300 lines of code. If you have not already read Part one - IPrincipal, Part two - IHttpModule and Part three - Attributes go back and take a look; We'll wait for you. First, I am going to give you all the code for the RightPermission and I will cover each method separately. using System;
usi...
[More]