I am a complete beginner with asp.net mvc and frankly with coding too. I am creating my first MVC application. I set a the asp.net identity system and it is working just fine. I have some action methods in my controllers where i want the logged in Users to provide a serial key (14 Alpha Numeric Letters) in order to be authorized for carrying some tasks. I've read tons of articles on custom AuthorizeAttribute
but instead of making a solution I am making it more difficult as it should be.
These serial keys should be saved somewhere on the application maybe on the back end database. the user that wants to access a specific action method should provide a serial key. The whole scenario is like licensing a software or antivirus. Any realistic example or a specific tutorial on this will help too much.
Thanks