Ask a Question related to ASP.NET Security, Design and Development.
-
Anders K. Jacobsen [DK] #1
Am I missing something with PrincipalPermissionAttribute?
Hi after read this article i wanted to try the security feuteres in .net.
In the artcle they claim that you should use it eg. like this:
[System.Security.Permissions.PrincipalPermissionAtt ribute(System.Security.Permissions.SecurityAction. Demand,
User="Joe")]
public void test()
{
// Some secure stuff
}
But there is no overload for 2 parameters in the constructor...only one. Why
is that?
This is the only accessible constructor.
[System.Security.Permissions.PrincipalPermissionAtt ribute(System.Security.Permissions.SecurityAction. Demand)]
Thanks in regards
Anders Jaocbsen
Anders K. Jacobsen [DK] Guest
-
Missing fonts that aren't missing
I have ID CS and am trying to merge a document from a colleague. He used "Times New Roman" as a font. It comes up as missing on my system. My similar... -
Links missing/update dialog missing upon file open
I am experiencing a strange problem when opening files with InDesign CS2. The usaul dialog box alerting you to missing/updated links does not appear.... -
YouTube videos missing but there...what am I missing?
Under my account of Guestdemo I had uploaded about 6 videos or so. I made them public and then made them private. When I go to my account it says... -
"Missing" graphics that aren't missing? (ID CS)
Sometimes I open an ID document and get the message, "This document contains links to missing or modified files." It's because I've moved or renamed... -
missing guides. missing cursors. missing a good drawing app. Ugh.
I can't see my text cursor. It's invisible. Why? I can't see new guides I drag onto the documents. They are there, I just can't see them. Why? ... -
Anders K. Jacobsen [DK] #2
Re: Am I missing something with PrincipalPermissionAttribute?
> In the artcle they claim that you should use it eg. like this:
And this was the article:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT03.asp[/url]
/
Anders
Anders K. Jacobsen [DK] Guest



Reply With Quote

