I received the following compilation warning as a error while upgrading some ASP.NET code from .NET 3.5: 'System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete.
The attribute has bee applied on the assebly level:
[assembly: System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.RequestMinimum, Execution=true)]
Also the code makes use of the P&P Web Client Software Factory, specificly the ObjectBuilder.WCSFExtensions library. Also it the code is providing some role provider implementations.
Keep in mind this code is used as Framework code in other projects, so it is hard to determine what security demands there might be.
So the milion dolar question is:
What value needs to be used for the "System.Security.Permissions.SecurityAction" enum?
Alternatively is there a better approach to applying the this security attribute?