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 > august 2006

Filter by week: 1 2 3 4 5

ActiveDirectoryMembershipProvider against non microsoft LDAP
Posted by tomschuring NO[at]SPAM gmail.com at 8/31/2006 10:12:46 PM
hello, is it possible to configure the ActiveDirectoryMembershipProvider to talk to a non-microsoft LDAP server such as novell eDirectory ? all the config settings only specify a standard LDAP connection string, so i am hopefull it can be done. if it can't be done, is there an LDAPMembers...more >>


How to determine required privileges?
Posted by SC at 8/31/2006 9:52:04 PM
When writing applications, how can I determine the minimum required privileges necessary for an operation to run? For instance, say my application needs rights to write/read to the registry, or I want to block some ports - how do I go about finding out what the minimum privileges required are...more >>

Can someone please describe why impersonation requires the impersonator to be local admin?
Posted by Daniel at 8/31/2006 10:28:20 AM
Can someone please describe why impersonation requires the impersonator to be local admin? ...more >>

How do we become a trusted publisher so ClickOnce works smoothly?
Posted by Mike Dekarske at 8/31/2006 10:02:31 AM
We don't want or expect our users to make the decision as to whether or not to allow our program to run. I would like to set-up an internal certificate authority so we can sign our own applications to run with full trust. Does anyone have ideas or resources for this? Thanks, Mike ...more >>

caspol -addpset
Posted by Triv at 8/31/2006 4:23:10 AM
To add a new permission set into the CAS through caspol we have to specify a XML file. surprisingly I can't find anywhere not even on MSDN, the format of this XML file. Can anybody forward me any link which explains the XML file for creating new permission sets. Regards, Triv ...more >>

ASP.NET Cookie Handling
Posted by Aaron Sanders at 8/30/2006 10:15:01 AM
I have some questions about persistent and session cookie handling that I can't quite get ironed out. I have two applications. One is Framework 1.1, W2K3 / IIS6, the other is 2.0, W2K3 / IIS6. For both, HTTPS / SSL is enabled, but not forced, because we use redirection to direct users that ...more >>

Client certificate error with web services
Posted by oldbear at 8/30/2006 8:28:02 AM
Hi I have a web service which uses WSE for signing, and SSL for confidentiality and authentication. Authentication is via client certificates. The above scenario is already implemented and cannot be changed. Client certs produced by a Microsoft CA work fine for authentication. The ce...more >>

Windows Authentication in VB.Net Application
Posted by Rocky Neurock at 8/30/2006 6:43:43 AM
I have an application that requires a user name and password so no one sits down at anyone else's desk and runs the application as that user. I don't want to create a database to store user names and passwords. All I want to do is prompt the user for their Windows user name and password and veri...more >>



VS2005 Throws Security Exception when run from Network!?
Posted by David++ at 8/30/2006 2:10:02 AM
Dear List, I have developed an application in VS 2005. The application works fine when run from the Local drive C:\ but when the application is run from a Network Drive it throws a Security Exception. The Exception getting thrown is - I would rather the user doesnt have to configure the a...more >>

PKI confusion...
Posted by Ray Cassick (Home) at 8/30/2006 1:43:42 AM
I am implementing a licensing library to use across all my companies applications. The basis for this system is going to be simple text files that contain the details of the enclosed license and then an encrypted has of the contents to validation upon reading in the file just to prevent t...more >>

What do FTP servers do when file send fails durring a file upload? Are partial files ever written? does ftp protocol cover this?
Posted by Daniel at 8/29/2006 4:12:23 PM
What do FTP servers do when file send fails durring a file upload? Are partial files ever written? does ftp protocol cover this? ...more >>

recent security patch prevents desktop.ini CLSID folder-app association and custom icon
Posted by asinning at 8/28/2006 6:31:47 AM
We (the software company I work for) have been using a desktop.ini file to (1) create a unique icon for the "library folders" used with our application and (2) to associate these folders with our application so that double-clicking on the folder launches our application and lets our application ...more >>

How to validate client certificate?
Posted by JT at 8/25/2006 10:53:01 AM
I'm looking for information on how to programmatically validate a client certificate. I found this article http://support.microsoft.com/kb/315588/ but it stops short in describing how to actually validate the cert. HttpClientCertificate cert = Request.ClientCertificate; if (cert.IsPresent) ...more >>

Get role for any given user name ...
Posted by marek.hlavka NO[at]SPAM gmail.com at 8/25/2006 4:30:16 AM
Hi, I have similar problem to this thread (and I want the same thing - I wanted to check the user role of a given user name) -> http://groups.google.com/group/microsoft.public.dotnet.security/browse_thread/thread/645bf9a51c53c2fc/e237ffaf0ed88c0d Code is not executed on a 2003 server or high...more >>

Laptop Problems
Posted by Dee at 8/24/2006 5:18:01 PM
I have VS 2003 on my laptop and want to keep it, but I need to do a re-install on my laptop of windows XP, I have registered the software but can no longer find the CD because I moved to another state in June. I need to re-install windows xp because my computer is running slower, want to clea...more >>

How to convert string to SecureString?
Posted by Bishoy George at 8/24/2006 12:24:05 AM
I want to pass a string password in System.Diagnostics.Process.Start. The problem is that the defined password parameter is SecureString not string while my password is string. Normal casting evaluates to errors. Please how to cast string to SecureString? Many Thanks in Advance. Bis...more >>

Bad Data. Any idea what this means?
Posted by simonmarkjones NO[at]SPAM gmail.com at 8/23/2006 1:59:38 AM
Hi my webserver is running .Net 1.1 and intermitently i get the following error. Does anyone out there have any idea why this happens? And how i can try and start solving the problem. Most of the time the website works okay. Thanks in advance! Server Error in '/Ed/ENROL' Application. --------...more >>

when my C# service impersonates a secondary account does the secondary account need any special permissions? what are they?
Posted by Daniel at 8/22/2006 10:36:30 AM
when my C# service impersonates a secondary account does the secondary account need any special permissions? what are they? ...more >>

Aplying more than 1 attributes ?????
Posted by serge calderara at 8/22/2006 1:24:01 AM
Dear all, I am using framework 1.1 I try to add 2 security atributes to a component class but not able to do it based on syntax mistake that I could not find out. Applying one atribute is ok but more is a trouble... here si the code : ==================== Imports System.EnterpriseServ...more >>

Encrypting connection string in app.config
Posted by Gilgamesh at 8/21/2006 7:01:29 PM
Is there anyway to encrypt the connection string using an algorithm which is FIPS 140-2 certified, and then store the key in a FIPS 140-2 certified hardware store? We know that DPAPI doesn't do that. We also know that RSAENH is certified, but is there a way to use that to encrypt the connectio...more >>

Domain isolation question.
Posted by ttan at 8/18/2006 3:44:01 PM
I'm using c# to created a OU folder and named it "Isolate" in windows setting. DirectoryEntry newEntry = de.Children.Add("ou=Isolate", "organizationalUnit"); newEntry.CommitChanges(); My question is how do I move computer accounts from domain to this folder? ...more >>

Preferred method of hashing salted password
Posted by Jono at 8/18/2006 8:39:49 AM
Hi, I just discovered the Rfc2898DeriveBytes class, thanks to the MSDN nugget on storing passwords [1]. The thing is, it left me hanging at the end. Should I be using this new class or should I be using SHA256 to hash a concatenation of a user's password with a salt generated by means of an RNG...more >>

Verify syntax of an URl
Posted by serge calderara at 8/18/2006 2:28:02 AM
Der all, I have a text box where my user introduce a URL of type Http:\\.... or Ftp:\\... I need to verify that only this type of syntax is valid for my text box How can I perfomr that ?? Thansk for help...more >>

Service runing under Local System account ???
Posted by serge calderara at 8/18/2006 2:25:01 AM
Dear all, I have a service which is runing under System Local account. That service is calling a COM+ serviced Components that is executed only by members of Domain\ACCOUNT group. I have add using COM+ mangement tool the DOMAIN\Account for the serviced component. I ma logged on my machin...more >>

Advice requested : Storing SID String in SQL table
Posted by Russell Mangel at 8/16/2006 6:13:41 PM
I would like to store a Windows NT Account SID in an SQL server table as a SID String. What is the maximum length of a SID String? What is the maximum length of a SID byte[] array? Is this information published anywhere? Thanks Russell Mangel Las Vegas, NV PS I am just trying to av...more >>

DPAPI and key store
Posted by Gilgamesh at 8/16/2006 4:28:53 PM
I'm wroking on a C# class library which will use DPAPI (with 3DES algorithm) to encrypt the connction string which is stored in app.config file. I was wondering if there's a way to store the masterkey, which is used my DPAPI to encrypt/decrypt the password, in an extrenal hardware store such a...more >>

LDAP Authentication
Posted by satyendra at 8/16/2006 7:55:51 AM
Hi, I need to do the following. 1. I have an .aspx on an IIS Server that is not in the domain.It performs queries against the domain controller. 2. User enters his login and password and clicks submit 3. I need to authenticate him for his login, password and then redirect to a different url ...more >>

AzMan Administration on Advanced Server 2000
Posted by jblair at 8/15/2006 10:48:01 AM
I am implementing AzMan on Advanced Server 2000. I have downloaded and installed the runtime and MSXML 4.0. My question is specifically with regards to how the store is managed remotely. The server will be using local accounts, therefore I am not sure how I should go about adding those acco...more >>

Security Library Classes
Posted by gary at 8/14/2006 10:09:04 PM
Hi, Eugene Bobukh's weblog from May 2005 ( http://blogs.msdn.com/eugene_bobukh/archive/2005/05/06/415217.aspx ) documents that LinkDemands are optimized out in full trust mode in .NET 2.0. What is the best way to prevent third party applications from running methods within my libraries? Be...more >>

Strong Name Sandboxed AppDomain and GAC Problem with plugins
Posted by gary at 8/14/2006 12:45:17 AM
G'Day, I am looking to setup a plugin architecture for a project I am working on. My main application is signed, I would like all libraries that I load in my sandbox AppDomain to all be signed with the same key. It was all going very well until a requirement of the project was for these ...more >>

Can I run a service with a user profile
Posted by Scewbedew at 8/13/2006 11:57:01 PM
I have created a service that is running under the SYSTEM account. Using an IPC channel, a (non-administrative) user can call the service, requesting a program installation. The reason for having the service is to run the program installation with elevated rights, so I don't want the servic...more >>

How to SELECT records based upon ASP.NET Roles
Posted by Bob at 8/13/2006 3:02:01 PM
I am new to ASP.NET and need to develop an application that archives / retrieves documents. When the document is stored, the user specifies the document permissions ( public or limited to a specific role/class of users ..) This means that when a person in Customer Service does a search, they ...more >>

Is e-mail from Microsoft?
Posted by Sharon at 8/11/2006 8:57:02 PM
I have been receiving messages from Michael Tapp @ cablespeed.com and they are always Microsoft related. Does he work for you and why am I getting them?...more >>

CAS Policy issue
Posted by Alvin Bruney [MVP] at 8/10/2006 5:42:58 PM
I have a managed user control in a web form. No matter how I set the CAS policy at the machine level, the managed user control always runs. The only setting that seems to make a difference is machine/all_code which is currently set to full trust. Any lesser setting and the ActiveX control does...more >>

GetAccess Control for Directory
Posted by mgonzales3 at 8/10/2006 3:27:02 PM
I need to find out if i can write to a directory. There is a p/invoke method called AuthzAccessCheck. I have only found examples of the AccessControl namespace retrieving file.GetAccessControl instead of Directory.GetAccessControl. any ideas? thanks...more >>

Windows Authentication when Web Server is in DMZ
Posted by InstantKiwi at 8/9/2006 6:58:28 PM
Hi All, I am an applications developer with very basic knowledge of networking security concepts so please bear with while I try my best to explain the situation. I am looking for some best practice advice for how to structure the infrastructure for an internet facing web application. Here...more >>

password salting
Posted by Dan at 8/8/2006 9:15:02 AM
in the patterns and practices guidelines for securing applications it recommends hashing passwords and using a salt if storing to a database (i am ok with this bit). however, it also recommends appending the salt to the hashed password for simplified storage and then makes the following stat...more >>

Running .NET 2.0 App from UNC - Windows 2000 Server vs Windows XP Pro
Posted by daniel.rolfe NO[at]SPAM gmail.com at 8/8/2006 8:02:57 AM
Hi All, Environment: - Windows 2000 Server - .NET 2.0 I have an unmanaged C++ application that references a mixed mode image DLL (mixed managed and unmanaged). Under .NET 1.1 we could trust the dll (the mixed mode dll) by running the following command line: caspol.exe -polchgprompt of...more >>

Web Service, Authentication, Security & Domains
Posted by Igor Volkin at 8/7/2006 5:16:08 AM
kind regards to all. I'm faced against an implementation problem on which I need some guidelines and advice. my client has a Win2k3 domain with ActiveDirectory. I need to implement two parts of the solution: a) Web Service that will run on a computer in the client's domain with access to...more >>

Huge problem consuming .net event in JScript code
Posted by Lambuz at 8/7/2006 4:44:37 AM
Hi all, I've got this problem. I've to implemente a solution like the example in http://support.microsoft.com/default.aspx?scid=3Dkb;EN-US;313891, but I can't configure correctly the example. Every time I click on the textBox a System.Security.SecurityException is raised. At the end...more >>

connection to database
Posted by H.Frank at 8/7/2006 3:36:01 AM
When I make a simple form connected to an access .mdb DataBase and run it I get this problem in my browser: Server Error in '/haggaiSite' Application -------------------------------------------------------------------------------- ‏‏למנגנון מסד הנתונים Jet של Microsoft ×...more >>

Permissions Error
Posted by nickchan NO[at]SPAM programmer.net at 8/4/2006 11:14:46 AM
I am able to run my Windows app from a local drive. But I try running it from a mapped drive, I get the following error: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0 After I click Ok, it recommends I tweak the .Net Configuration...more >>

Add Publisher Name to Published VS2005 Project
Posted by abarnes NO[at]SPAM nc.rr.com at 8/4/2006 8:39:46 AM
I use Visual Studio 2005 to publish software to clients. The end result I need is to simply put our business' name in the dialog box when someone installs our software. I have googled this to no end and have not found a solution that works. I have tried to use makecert.exe and then pvk2pfx.e...more >>

How to programmingly check off "Allow inheritable permissions from
Posted by tchu at 8/4/2006 3:38:01 AM
Hi, I am using Microsoft.Win32.Security package(C#) to set the NT security of specified folder/file. My purpose is to protect the content of files under a specified folder from being read by "Users" group members, whereas Users can still list the name of these files, and tranverse through s...more >>

Cooecting to SQL server ??
Posted by serge calderara at 8/3/2006 5:03:01 PM
Dear all if my conection string is based on Integrated Security, if from my applciation which used windows identification, is there a default log on user that will be used when connecting to SQL ( same as ASp Account when anonimous is used) ? thnaks for the info regards...more >>

IN which context my web service is running?
Posted by serge calderara at 8/3/2006 5:01:02 PM
Dear all, I have an ASP 1.1 application which used either Form or WIndows Identification The aplication is calling a web service to get data from an SQL server database Based on that, if Windows identification is used for my ASP application, in which user context will run my web service w...more >>

single sign on from web to smart client
Posted by thatsastounding NO[at]SPAM gmail.com at 8/3/2006 1:01:41 PM
Hi. I am looking for a way to implement a single sign on process for going from a web site to a smart client. The website currently uses forms authentication. The smart client is on a different website and I want to pass the authentication from my web site to the smart client without having t...more >>

authentication against adsi/ldap
Posted by satyendra at 8/3/2006 6:42:36 AM
Hi, I need to do the following. 1. I have an .aspx on an IIS Server that is not in the domain.It performs queries against the domain controller. 2. User enters his login and password and clicks submit 3. I need to authenticate him for his login, password and then redirect to a different url ...more >>

Problems accessing the ASPNETDB.MDF file
Posted by Fritjolf at 8/3/2006 3:05:20 AM
Hi. I have serious problems trying to authenticate users with the build in functionality in asp.net 2.0. In the process of trying to debug this problem I've made a very simple webtest application. Hardware and software info: - I'm using VS2005 and I'm developing on XP - I'm using a local D...more >>

Cryptographic Exception Bad Data
Posted by GSwan at 8/3/2006 2:35:01 AM
Hi all, I'm having a bit of a nightmare with an application i've been developing. firstly a little background on the problemns so far. Its a windows application written in C# which has been working fine when running on a local machine. Ideally what i want to do is to run the app over the ne...more >>


DevelopmentNow Blog