Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > dotnet security > october 2006 > threads for october 8 - 14, 2006

Filter by week: 1 2 3 4 5

ActiveDirectory group membership in offline profile
Posted by tbb NO[at]SPAM uni.de at 10/12/2006 11:28:43 PM
Hi I have written an application in which I am using AD groups to set the program permissions. sample code: System.Security.Principal.WindowsIdentity ident = System.Security.Principal.WindowsIdentity.GetCurrent(); System.Security.Principal.WindowsPrincipal prin = new System.Security.Prin...more >>


.NET 2.0/ VB 2005 application-Security Policy issue
Posted by barabel at 10/12/2006 2:35:01 PM
On some of our Win2k3 (x64) servers we are getting the following error message with our application: "Application attempted to perform an operation not allowed by the security policy." This app needs to read/write registry keys and read the local file system (outside the directory tree t...more >>

.NET 2.0 - Security Issue with Win2k3 Visual Basic 2005 app
Posted by barabel at 10/12/2006 2:31:01 PM
I am trying to figure out some strange behavior we are seeing with an application we've recently created using Visual Basic 2005. The application works fine on some of our systems, but on others it gives us: "Application attempted to perform an operation not allowed by the security policy"...more >>

Security Excetion while Rebooting a remote computer using WMI
Posted by -pb- at 10/12/2006 9:33:52 AM
Hi, I am trying to rebbot a remote computer using WMI in c# but it failes and riases an exception called "Security Exception". What seeting i need for code level security which gives me an access to use the System.Managent namespace. ...more >>

Why am I not trusted?
Posted by Sid DeLuca at 10/12/2006 8:53:01 AM
I am trying to secure an Excel smart document using WSE3 and VSTO. I have Office 2003 Pro, VS 2005, WSE3, and VSTO installed (not SE). I have downloaded the Excel Invoice Sample application and modified it to work with a web service I developed that is secured using WSE3 extensions and the...more >>

Creating MSI for installing .NET security policies
Posted by David++ at 10/12/2006 7:38:02 AM
Hi folks, I'm deploying my app to a network share and I need the security permissions installed on the client. AFAICT I cannot use ClickOnce because ClickOnce deployment doesnt allow user to specify install location i.e. Network share. So I have gone down the route of creating a Strong Name...more >>

The remote server returned an error: (403) Forbidden in webrequest
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 10/12/2006 5:13:20 AM
Hi all, I am using webrequest and webresponse to chekc validation of url. while validating url if i open that url in IE it is working properly but through code it is showing error as shown in subject linke. can anyone help me in solving this problem. Please help me asap. thanks in ad...more >>

Which encryption type ????
Posted by serge calderara at 10/12/2006 4:54:02 AM
Dear all, What is the guide line or rules to selectr the proper enryption type like DES, triple DES, RCA2, Rinjnael ? Does the selected always the hihest bits encryption is the key in spite of performance ?? thnaks for comments regards serge...more >>



IL code fails with VerificationException
Posted by Paul Hatcher at 10/11/2006 1:02:34 PM
Hi We have a requirement to get the non-virtual version of GetHashCode for any object (value or reference type). There is a call System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode, but this fails under some circumstances on 1.1 when passed Int32 and so we have some IL code to achi...more >>

Effective FileSystemRights for a WindowsIdentity???
Posted by Ed Sutton at 10/11/2006 8:42:30 AM
Is there a FileSecurity method that can determine if the current WindowsIdentity has "effective" file access permissions? The challenge is the current identity may be "MYDOMAIN\JDOE", but I do not know how to determine if a group this identity belongs, for example "EVERYONE", permits write ...more >>

Weird behaviour of the PrincipalPermission attribute
Posted by Amid at 10/10/2006 11:47:02 PM
Let's suppose we have the following class: [PrincipalPermission(SecurityAction.Demand, Authenticated = true)] public class TestClass { [PrincipalPermission(SecurityAction.Demand, Role = "Administrator")] public void CallMe() { PrincipalPermission MyPermission ...more >>

Cannot decrypt (NTE_BAD_DATA)
Posted by Levy at 10/10/2006 12:00:00 AM
Hello, I am trying to encrypt a block of data using RSA (in a C# webservice on = a Win2003 server machine) and then decrypt it (using CryptoAPI from C++ = on a WinXP machine). I cannot get it to work, I always get NTE_BAD_DATA. To encrypt, I do the following: CspParameters p =3D new CspPa...more >>

Help me to understand Code Access Security. I don't get it.
Posted by Ken Varn at 10/9/2006 4:01:40 PM
I have looked at several books and tutorials on .NET Security and frankly, I am in a fog on Code Access Security. I don't get it. Could someone please explain the need for CAS and some practical examples of why and when it is necessary to implement it? -- -------------------------...more >>

Help me to understand ??
Posted by serge calderara at 10/9/2006 4:01:02 AM
Dear all, I ma studying security stuff to prepare my next exam and in this study I am face to different example which connect to database within a ServicedComponent.. My question is what is the adavantang of using this ServicedComponent features if no interest on Object pooling, Applicat...more >>


DevelopmentNow Blog