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 > september 2004 > threads for september 8 - 14, 2004

Filter by week: 1 2 3 4 5

ASP.NET Identity to COM+...
Posted by Dominick Baier at 9/14/2004 10:17:34 PM
hi, i am afraid - this won't work. COM+ and .NET Role Based Security are not compatible. COM+ is tied to windows accounts - you are using custom roles COM+ does not expose the IPrincipal through Thread.CurrentPrincipal - it uses the COM+ security context which is exposed through Secu...more >>


ASP.NET Identity to COM+...
Posted by linus NO[at]SPAM technologist.com at 9/14/2004 2:31:51 PM
Hi, My database holds information about users, groups and roles and I've written a custom principal class (implements IPrincipal) to read this information from tables. When a user signs on to my ASP.NET web app, I first use the forms authentication to authenticate the user, then I...more >>

Configuration File Security
Posted by Thomas at 9/14/2004 12:16:35 PM
My application configuration file contain sensitive information, such as the SQL Server name and the database name. How can secure application configuration files ? ...more >>

Am I missing something or has MS missed the plot?
Posted by Dominick Baier at 9/12/2004 11:04:12 PM
Hi, you are right - Windows needs the password in plaintext to impersonate a user (having to call LogonUser, which requires a password). Thinking about it - it is the only way Windows can do it. So if you want to use the Windows infrastructure that's already there you have to combine option ...more >>

Best practices
Posted by opianeta at 9/10/2004 9:13:29 AM
Hi, can I find somewhere any whitepaper about authentication and best practice about application logon ? We have many application , with IIS, COM+, Databases and so on. Some of them have integrated, some use impersonate . I'd like to find soe example of the best way.. thank you so m...more >>

Signing using X509 certificates
Posted by Raj at 9/9/2004 5:07:03 PM
Hi, Iam trying to sign XML messages using X509 certificate.The problem Iam facing is extracting the private key out of the X509 certificate ..I know that the private key is not stored as part of the .cer files but shouldn't it be part of the .pl2 files .I tried with that format as well but no...more >>

.Net Code Access Imperative Security
Posted by Sameeksha at 9/9/2004 3:01:02 AM
Hello All, I wrote the following code in a button click event in a windows application. CodeAccessPermission perm = new FileDialogPermission(FileDialogPermissionAccess.Open); perm.Deny(); try { OpenFileDialog dlgOpen = new OpenFileDialo...more >>

Connect to Sql server using DSN?
Posted by Ben at 9/8/2004 10:23:02 PM
Hi, We're current using the sql server .net data provider to talk to Sql Server, but required to change to using DSN. Is it posssible to connect to Sql Server using DSN? Thanks, Ben ...more >>



Access to the path is denied when calling StreamWriter from aspx to dynamicaly create asp files. how to enable this in the web.config?
Posted by Daniel at 9/8/2004 6:05:15 PM
Access to the path is denied when calling StreamWriter from aspx to dynamicaly create asp files. how to enable this in the web.config? ...more >>

Can't Pull Pages From External Sites
Posted by RL at 9/8/2004 4:29:20 PM
Hi, I'm trying to pull pages from news sites like New York Times and WSJ. (I have accounts with them.) I wrote a ultility that goes to their home pages and pulls out the links that I want. But when I try to get those links, authentication fails--I get login pages instead (I don't get those ...more >>

remoting
Posted by Ivan G. at 9/8/2004 1:06:42 PM
Hi. Is it possible to implement windows internal security for .net remoting tcp channel (by writing custom sink or smth else)? Thanx. ...more >>

System.IO.File.Copy(..,..) doesn't really work (WinApp)
Posted by gotchafighter NO[at]SPAM gmx.de at 9/8/2004 11:19:43 AM
1. signed assembly with a StrongName 2. Caspol -m -af MyUpdServ.exe Following Code functioned: File.Copy(@"\\SERVER01\MyApp\MyApp.exe", @"C:\Programme\MyApp\MyApp.exe", true); Following Code not functioned: File.Copy(@"\\SERVER01\MyApp\MyApp.xml", @"C:\Programme\MyApp\MyApp.xml", tr...more >>

Impersonation using Microsoft Visual C# .NET and Windows 2000
Posted by vkilchherr NO[at]SPAM gmx.net at 9/8/2004 8:28:01 AM
Hi! In a program, I want to perform some statements with a different user than the user who performs the program. So I search for Impersonate in the Visual Studio help and read the article with title: "WindowsIdentity.Impersonate Method" Unfortunately, the LogonUser Function only works on W...more >>


DevelopmentNow Blog