Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
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
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net security > may 2008

Propagate Identity to WebService
Posted by homawong@gmail.com at 5/29/2008 7:15:49 PM
Hi, I have an intranet website using Windows Authentication with impersonation. The website calls a webservice which check accessibility using User.Identity.Name How do I pass the user identity from the website to the webService? Thanks, Homa Wong...more >>


'System.Web.Security.MembershipUser.MembershipUser()' is inaccessible due to its protection level
Posted by CSharpner at 5/26/2008 5:52:21 PM
I'm trying to make a customer MembershipProvider. While overrideing the CreateUser(...) method, I get the following compiler error that doesn't make any sense to me: 'System.Web.Security.MembershipUser.MembershipUser()' is inaccessible due to its protection level Here's the relavent code: ...more >>

Extending LDAP and creating a constructed attribute
Posted by need2scuba at 5/23/2008 6:55:01 AM
I would like to extend ADAM's schema and create a custom attribute called myManagedBy which allows mulitple objects to be assigned. That's not the problem though. I would like to also create a myManagedObjects which mirrors the behavior of the constructed attribute 'managedObjects' only agai...more >>

account ASPNET cannot write file to sub folder
Posted by xin.yadong@gmail.com at 5/22/2008 8:56:29 AM
Hi: I have a web application (.NET 2.0), which allow user to create a txt file and write to a sub folder under my web application on server side. I have grant full permission of this sub folder to account ASPNET, but wouldn't get succeed. But after I grant write permission for acount machi...more >>

Secure login from unsecured page
Posted by BillAtWork at 5/21/2008 4:56:01 PM
Hi, Can anyone help me with advice/articles about this? I'd like to allow users to either sign up or login from my initial homepage, but I don't want the overhead of having EVERY visitor to that page invoking a secure connection. So everyone visits http://www.mysite.com but only those users...more >>

VPN & Windows authentication
Posted by SpaceMarine at 5/21/2008 6:58:00 AM
hello, i am working on some intranet apps for my organization. many of our users are internal on domain desktops. however, some will be working in the cloud but VPN'ing into our network, where they can access internal web apps like mine. the VPN login info typed in by users matches their AD l...more >>

Identity Impersonate (Rephrase)
Posted by Jon Mcleod at 5/21/2008 2:35:06 AM
Hello.. I'm using windows integrated security, with the following web.config: <authentication mode="Windows"/> <identity impersonate="true" userName="netuser" password="p"/> In my app, I am trying to figure out who is the actual human user sitting at the keyboard. With WindowsIdenti...more >>

Cannot create RSA key container
Posted by Bernard at 5/20/2008 10:26:24 PM
Hi group, I've been trying to create an RSA key container so I can encrypt my web.config connection strings section, but have been unable to. I was able to create and delete the container, but can no longer. It stopped working while I was creating and testing a deployment script to create t...more >>



WindowsIdentity Question
Posted by Jon Mcleod at 5/20/2008 7:24:29 PM
With WindowsIdentity, is it possible to figure out the user who is doing the impersonating. For instance, if web.config is this: <authentication mode="Windows"/> <identity impersonate="true" userName="netuser" password="p"/> and I log in as user "jmcleod", I can look at the Name proper...more >>

wonky <authorization> (order matters?)
Posted by SpaceMarine at 5/20/2008 4:37:05 PM
hello, i am using Windows authentication w/ my web app and lock it down via roles. in my testing it seems like the *order* of the <authorization> elements matters. eg, this works: <authorization> <allow roles="Foo" /> <deny users="?" /> <deny users="*" /> </authorization> b...more >>

newbie help - Active Directory Membership Provider
Posted by SpaceMarine at 5/20/2008 12:57:07 PM
hello, i am testing out forms-based authentication using the AD membership provider. i have limited AD experience. i have setup an AD connection street and AD membership provider in my web.config. however, doing some simple tests in code-behind i cannot validate user accounts like so: ...more >>

Impersonate on specific directory
Posted by Nick at 5/19/2008 3:09:42 PM
Hi there, I need to enable Impersonation in order to access a network share from an ASP.NET application. Unfortunately when I do this it enables it for the entire application which causes other issues, how would I do this for a particular folder? Thanks in advance for your time....more >>

restricting access based on Org Unit (OU)
Posted by SpaceMarine at 5/16/2008 2:30:33 PM
Hello, I have an ASP.NET 2.0 web app w/ an Active Directory user base that I need to lock down -- only one Organizational Unity should be able to use the web app. So I need to limit my app to only users w/i that Organizational Unit, as maintained in our Active Directory by our admins. Ca...more >>

How do you encrypt machine.config (2.0)
Posted by Joel Wilson at 5/16/2008 10:00:42 AM
I've tried every permutation of aspnet_regiis.exe -pe "connectionStrings" -app "/MySite" -prov "DataProtectionConfigurationProvider" -pkm to encrypt the connectionStrings in my 2.0 machine.config (not web.config). I just get the help dump -- no error message -- and the encryption does not wo...more >>

ActiveDirectoryMembershipProvider & ChangePassword control
Posted by dknight at 5/14/2008 12:05:00 PM
I'm using AD for my asp.net c# forms authentication. The login control works great. However we need the provider to force a change of password when the AD account's "User must change password on next login" attribute is set to true. Using DirectoryServices I can check to see if the attribute i...more >>

mixed mode authentication + no postbacks
Posted by domagoj@community.nospam at 5/13/2008 8:44:02 AM
Hi there I implemented a mixed mode authentication as follows: main site using forms authentication redirector site using windows authentication, creates a forms authentication cookie and redirects to main site the problem is if i go to the main site everything works fine if i...more >>

WebSite Admin Tool
Posted by Herb at 5/6/2008 4:09:00 PM
I've built an ASP.NET application on my development computer and incorporated this WebsiteAdminTool to manage the userids used for forms authentication. I delpoyed the application to my webserver, which in a different subnet, and now I get "error: 26 - Error Locating Server/Instance Specifie...more >>

rsa encrtyption
Posted by Chuck P at 5/5/2008 3:03:01 PM
I created a key for encrypting my web.config aspnet_regiis -pz WebEncryptionKeys aspnet_regiis -pc WebEncryptionKeys -exp exported them aspnet_regiis -px WebEncryptionKeys c:\WebEncryptionKeys_Public.xml -pri imported them to developers and server machines aspnet_regiis -pi "WebEn...more >>

Advise please on asp.net security concepts.
Posted by Jairaj Budhu at 5/1/2008 1:24:39 PM
Hi, I've been studying asp.net for some months now, based on the requirements for a project. I seem to have a very difficult time grasping the security concepts of asp.net 2.0. I'll be building an online catalog, to display products. I also need to build a customer section where they...more >>


DevelopmentNow Blog