Click here to Skip to main content
16,005,389 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: log4net... Pin
Gertjan Schuurmans15-Jan-03 12:06
Gertjan Schuurmans15-Jan-03 12:06 
Generalhelp with TreeView and right-click popup menu Pin
Marc Clifton14-Jan-03 11:31
mvaMarc Clifton14-Jan-03 11:31 
GeneralRe: help with TreeView and right-click popup menu Pin
leppie14-Jan-03 11:49
leppie14-Jan-03 11:49 
GeneralRe: help with TreeView and right-click popup menu Pin
Marc Clifton15-Jan-03 0:39
mvaMarc Clifton15-Jan-03 0:39 
GeneralVS.Net embedding cursors Pin
jstonge14-Jan-03 1:06
jstonge14-Jan-03 1:06 
GeneralGeneral opinion on architecture needed Pin
Paul Ingles13-Jan-03 11:56
Paul Ingles13-Jan-03 11:56 
GeneralRe: General opinion on architecture needed Pin
Gertjan Schuurmans13-Jan-03 13:02
Gertjan Schuurmans13-Jan-03 13:02 
GeneralCustom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel13-Jan-03 1:34
Victor Vogelpoel13-Jan-03 1:34 
I'd like a "BetaExpiration" attribute (DECLARITIVE security) on my classes that is enforced automatically when the assembly containing the classes is used. A security exception should be thrown if the classes are being used outside beta period.

[AllowedUse(From = "2003-1-30")]
public class x
{
public x()
{}
}

CodeAccessSecurity permission is the way to do it and I've already got an test implementation. The major problem is that my custom CodeAccessSecurity derived permission assembly should be registered on the user's machine using CasPol etc for the .Net security system to find and use it. This is not desirable. The app should just be installed and my custom codesecurity access should be enforced...

Another way is implement another custom permissing, implement IPermission, ISecurityEncodable. Unfortunately, the declarative notation is never instantiated, unless I do it myself in code; the imparative method is working fine, but I'd like to use attributes for this!

public x()
{
AllowedUse2 au = new AllowedUse2();
au.From = "2003-1-30";
au.Demand();
}

Does anyone have a bright idea how to enforce custom CodeAccessSecurity using declarative notation without requiring .Net registration of the permission assembly?


Victor
GeneralRe: Custom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel16-Jan-03 7:36
Victor Vogelpoel16-Jan-03 7:36 
GeneralDatabound TreeView Pin
yaaang12-Jan-03 20:16
yaaang12-Jan-03 20:16 
GeneralUsing .NET objects from good-ol JScript Pin
Nick Blumhardt12-Jan-03 17:12
Nick Blumhardt12-Jan-03 17:12 
GeneralRe: Using .NET objects from good-ol JScript Pin
Stephane Rodriguez.14-Jan-03 1:42
Stephane Rodriguez.14-Jan-03 1:42 
GeneralRe: Using .NET objects from good-ol JScript Pin
Nick Blumhardt14-Jan-03 16:33
Nick Blumhardt14-Jan-03 16:33 
Generalwildcard file exits and delete methods Pin
Lorne11-Jan-03 8:49
Lorne11-Jan-03 8:49 
GeneralRe: wildcard file exits and delete methods Pin
leppie12-Jan-03 8:46
leppie12-Jan-03 8:46 
GeneralResource Question Pin
matthias s.9-Jan-03 2:26
matthias s.9-Jan-03 2:26 
GeneralRe: Resource Question Pin
Stephane Rodriguez.9-Jan-03 2:56
Stephane Rodriguez.9-Jan-03 2:56 
QuestionHow to tell if .NET framework is installed? Pin
BigAndy9-Jan-03 1:42
BigAndy9-Jan-03 1:42 
AnswerRe: How to tell if .NET framework is installed? Pin
Stephane Rodriguez.9-Jan-03 2:50
Stephane Rodriguez.9-Jan-03 2:50 
GeneralASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 4:12
Dato8-Jan-03 4:12 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Daniel Turini8-Jan-03 5:04
Daniel Turini8-Jan-03 5:04 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 6:24
Dato8-Jan-03 6:24 
GeneralGOT IT FIXED: STRANGE: Re: ASP.NET Apps NOT Working HELP ! Pin
Dato11-Jan-03 5:11
Dato11-Jan-03 5:11 
GeneralCannot Uninstall Visual Studio.Net Pin
garfild8-Jan-03 4:00
garfild8-Jan-03 4:00 
GeneralRe: Cannot Uninstall Visual Studio.Net Pin
Nick Parker8-Jan-03 4:17
protectorNick Parker8-Jan-03 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.