i have some controlers that provide access only to users that are in Admin role:
[Authorize(Roles = "Administrators")]
controler im talking about displays company details for customers and i want to provide access to that controler by some url for example:
www.mysite.com/Company/123?code=0932840329809u0932840
generating code will not be a problem, problem is what is the best solution to provide access to controler via that secret url AND access without secret url only for administrators? thnx!