Can you use AuthorizeAttribute
in webservice asmx, soap or rest? And custom attributes, like the one below (example only)?
[System.AttributeUsage(System.AttributeTargets.Class |
System.AttributeTargets.Struct)
]
public class Author : System.Attribute
{
private string name;
public double version;
public Author(string name)
{
this.name = name;
version = 1.0;
}
}