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 > june 2006 > threads for june 15 - 21, 2006

Filter by week: 1 2 3 4 5

permission for socket access
Posted by Rain at 6/21/2006 9:09:02 PM
Hi, i only need to make the scoket access unrestricted and nothing else. How do i do this in an xml which i will be using in adding a permission set using caspol? <PermissionSet class="System.Security.NamedPermissionSet" version="1"> <Permission class="System.Net.SocketPermissionAttribute, m...more >>

Active Directory and ASP.NET 2.0
Posted by NancyA at 6/21/2006 11:30:01 AM
Hi - I am successfully able to retrieve tokenGroups data for a given sAmAccountName from a .NET 2.0 web page. However, I'm still in test mode on my own machine. What will I need to do to access AD from the web page when it goes out on a corporate IIS server? Do I need to use a specific ac...more >>

Where to store log file ?
Posted by serge calderara at 6/20/2006 5:02:01 AM
Dear all, I have build a WIndows application that is deployed under 2000 or XP workstation. If I set to 1 the entry in <Diagnostics> elements of App.config file, then it generates log file entry under a LOG folder located below the Installation Folder in Program File. Now problem comes ...more >>

Need advise...
Posted by serge calderara at 6/20/2006 2:01:02 AM
Dear all, I have a windows application with a Windows login dialog which is used to handle different specific users different that Windows login users. When I start my application I get a security exception when I am loged in as a Restricted Windows user. The generated exception is normal be...more >>

Security settings for Folder
Posted by Tinu at 6/19/2006 4:55:33 PM
Hi, I am using below code to give access to a user but when I check in explorer only "Special Permission' is checked instead of "FullControl"? DirectoryInfo di = Directory.CreateDirectory("C:\\zDeleteMe"); DirectorySecurity dSecurity = di.GetAccessControl(); // Add the FileSystem...more >>

Check if a key exists in a CSP with a specific containerName
Posted by Vincent RICHOMME at 6/19/2006 4:26:33 PM
Hi, I am trying to developp an admin application permitting me to rerieve passwords from users. (their password is encrypted by a public key and they send me the file) First time the application starts, I have to generate a key pair. So my question is how can I know if a key already exists...more >>

Bad Data with DES Decryption
Posted by Steve Telford at 6/18/2006 9:03:02 PM
Hello everyone, I am using the following class to encrypt/decrypt a string using C# in .NET Framework 2.0. When I call decrypt (in testing, straight after calling encrypt) I get a 'Bad Data' Cryptographic Exception. Can anyone offer any advice as to where I may be going wrong? Thanks in ...more >>

reinstalling Norton Internet Security
Posted by Karen Nelson at 6/17/2006 10:12:01 AM
Had to do a system recovery, now I cannot reinstall my security, any suggestions...more >>



[assembly: SecurityPermission] question
Posted by Lloyd Dupont at 6/17/2006 12:00:00 AM
FxCop advise me to assign some security to my library, with this warning: http://www.gotdotnet.com/team/fxcop/docs/rules.aspx?version=1.35&url=/Usage/AssembliesShouldDeclareMinimumSecurity.html I should confess that I have little knowledge about this, never done it before. And I face the fo...more >>

https and httplistener
Posted by Rok at 6/16/2006 8:15:29 PM
Hi, I have written a small web server using the HttpListener from .NET framework 2.0. What I cannot get him to do is communicate over ssl. Apparently I don't have to do anything in my code besides setting the HttpListener to listen to https://localhost/ instead of http:/localhost/. I have cr...more >>

Microsoft CryptoAPI CSP Availability
Posted by Kristen Benjamin at 6/16/2006 2:14:29 PM
I recently bought a laptop that has Windows XP Professional SP2. I was surprised to discover that algorithms under Outlook didn't include SHA1 or 3DES, which seem to be the minimum 'lingua franca' for strong crypto. I looked up the suported algorithms in the CryptoAPI, and found reference to add...more >>

Import SIMPLEBLOB session key into .NET?
Posted by VictorG at 6/15/2006 10:24:34 PM
Hello, Having trouble importing a SIMPLEBLOB AES 128 bit session key that was exported from CryptExportKey(...) in CAPI. Using a machine wide key container. CAPI Code snippet: // Determine size of the key BLOB, and allocate memory. if(!CryptExportKey(hKey, hPubKey, SIMPLEBLOB, CRYPT_OAEP,...more >>

windows authentication with custom role
Posted by zino at 6/15/2006 2:03:02 PM
how can set the asp.net 2 application to authenticate user using windows integrated authetication with a single signon, with a custom role independant from the user domain role. (role might be stored in SQL server) any artcile would be greatly helpfull. ...more >>

Trust relationship exception
Posted by Edo at 6/15/2006 12:07:01 PM
Hi All, This code has been working all right for a couple of days, but suddenly I'm getting the error detailed later (C#): System.Security.Principal.WindowsIdentity ui; System.Security.Principal.WindowsPrincipal up; ui = System.Security.Principal.WindowsIdentity.GetCurrent(); up = new Sy...more >>

how to protect my codes
Posted by zeeway at 6/15/2006 12:00:00 AM
hi,every one! I have an urgent question. My codes need to be published now,but I learn programs produced with .net are very easy to be reverse-engineered. Could anyone give me some sugguestions to protect my c# codes? Crespo 2006-06-15 ...more >>


DevelopmentNow Blog