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 > june 2006 > threads for june 22 - 28, 2006

Filter by week: 1 2 3 4 5

The trust relationship between this workstation and the primary domain failed
Posted by Namshub at 6/28/2006 10:13:50 PM
Hi, I'm using Visual Studio 2005 and I'm currently working at home, this line of code works perfectly well online If Not (HttpContext.Current.User.IsInRole(SecurityGroup)) Then But when run disconnected from the network I get the error below. Is this correct? Is there a different line to d...more >>


Authorization question, w/ "Windows" authentication mode
Posted by matt NO[at]SPAM mailinator.com at 6/28/2006 2:35:21 PM
hello, im familar w/ *forms* based authentication, and i have coded several public-facing web sites that authenticate w/ a forms-based login page; then get back an array of user roles, and from global.asax.cs's Application_AuthenticateRequest() assign the roles to the Security.Principal user....more >>

Windows authentication in code
Posted by Jerry C at 6/28/2006 2:03:02 PM
I am trying to login a user to NT on a default.aspx page when the site is setup to anonymous. I used some code for impersonation and it works for the default page but when I redirect to other pages I am back to the anonymous user for IIS6. How can I get the new impersonated user to be the user...more >>

Authenticate newly created Member
Posted by rshillington at 6/28/2006 12:13:10 PM
I have my own subscription page that prompts for Membership info, among other things. when the user submits a valid page I would like to 1) Membeship.CreateUser and 2) automatically log in the newly created user. Step 1 is simple, but it's not clear to me how to do step 2 Thanks in advance f...more >>

Problem inheriting from sqlmembershipprovider
Posted by Sherman KB at 6/28/2006 11:59:01 AM
I needed to extend the attributes being collected by the sqlmembershipprovider. Since we're using a sql store, inheriting from the sqlmembershipprovider class seemed to make sense. I'm running into several problems. In my unit tests, when calling the DeleteUser method, I get a System.Null...more >>

Forms authentication failed for the request
Posted by Omar AL Zabir at 6/28/2006 11:14:02 AM
We are running www.pageflakes.com on NLB. There are 2 servers running the site on ASP.NET 2.0 on Windows 2003 32bit. Both servers' event logs are flooded with this exception: "Forms authentication failed for the request. Reason: The ticket supplied was invalid." I tried the following: ...more >>

GetCompiledPageInstance and Medium trust application level
Posted by Ondrej Valenta at 6/28/2006 2:00:16 AM
Hi, is there any way how to go through this Security exception when using = GetCompiledPageInstance method in Medium trust app level (webhosting = environment)? Where is the real problem? I mean why application has to = be in Full trust?=20 I'm using that method because RewritePath has seriou...more >>

form authentication with web service
Posted by Mohammad F. Bukhari at 6/28/2006 1:02:02 AM
Hi folks, I'm using form authentication on my web application, what I want is when I'm authenticating, I pass the UserID and Password throw a web service and the web service will check if he is authenticated or not and return to me what I need. Is it possible to connect form authenticati...more >>



Using a mix of HTTP and HTTPS in ASP web application
Posted by Amit at 6/27/2006 2:49:01 PM
We have a web based product written entirely in ASP (not asp.net) and Javascript in the frontend. As of now all the pages are viewed over HTTP and that works fine. Now we are trying to partition the set of pages into secure and non-secure. And for the set of pages deemed secure we would like t...more >>

Mixing Forms and Windows Securiey
Posted by Jerry C at 6/26/2006 1:03:01 PM
This is a new post covering two previous posts: "Unable to establish secure connection to Server" and "membership and redirect of unauthenticated user" Thank you for your replys. I found a MSDN Library entry by the Title of: "Mixing Forms and Windows Security in ASP.NET" by Paul wilson ...more >>

Creating a Custom Membership Provider
Posted by Ryan at 6/26/2006 8:34:14 AM
I'm referring to this Microsoft article in regards to creating a custom membership provider: http://msdn2.microsoft.com/en-us/library/ms366730(d=ide).aspx I'm in the process of creating my own membership provider and just want to make sure I get everything set up correctly with regards to th...more >>

Application pool security
Posted by deja NO[at]SPAM 2bytes.co.uk at 6/26/2006 4:00:00 AM
hi, I'm not getting the results I expected when setting up authorization in my web service. I have a web application that runs under an application pool identity (with Windows authentication). This application then calls a web service which is also setup to run under the same application pool...more >>

Could not establish trust relationship with remote server
Posted by AL at 6/26/2006 1:44:01 AM
Hi I've got two web services both running on the same web server. Both web services are accesses via https and the same root level domain. I wrote the client application which post information to one of the web services and depending on which method was invoked calls the second web servi...more >>

List client certificates
Posted by moises.cid NO[at]SPAM gmail.com at 6/26/2006 12:44:01 AM
Hi, I'm developing a Web application with VStudio 2005 + .net 2.0 + IIS 6.0 In the Web application I've to digitally sign a pdf document with a user certificate. In the page where I've to sign I list the user certificates with this code: -----------------------------------------------------...more >>

FormsAuthentication.RedirectFromLoginPage()
Posted by Mark Teague at 6/23/2006 2:21:33 PM
Greetings MS ASP.Net Community, I am using forms authentication for a site we've been developing. All users valid on our Windows domain are eligible to access the site, but are enrolled in the application upon initial login by insertion of a record into a [User] table located in a SQL Serv...more >>

FormsAuthentication Access Rules Event
Posted by Brandon Stalte at 6/23/2006 12:49:02 PM
I've implemented forms authentication for my application. I would like to use access rules by creating individual web.config files in folders to allow/disallow access to directories. My problem is when I create an access rule for a directory to disallow a role or user, when that user in the role ...more >>

Timeout differences
Posted by Ibrahim. at 6/23/2006 4:49:02 AM
Hello, What is the difference between the followings in web.config; <SettionState> session timeout? and <authentication mode="Forms"> cookie timeout? Thanks ...more >>

login to Website using a SmartCard
Posted by m.piceni NO[at]SPAM newsgroup.nospam at 6/23/2006 12:00:00 AM
Hi, anyone has experience of Website login (AD Integrated) using a Smart Card ? In actually using the ASP:Login control to login the users usign they AD credentials. User also have a smart card that permit them to logon locally to Windows XP clients. I'd like to have them login on the extran...more >>

Problem in Accessing Active Directory from ASP.net
Posted by Maqsood Ahmed [MCAD .NET] at 6/22/2006 10:43:02 PM
Environment: Windows XP, .NET/ASP .NET 2.0 I am developing an intranet application for my company. I want to use LDAP to get the existing users of the company and allow them access according to their roles. I have set identity impersonation = true and authentication mode = "Windows" in the...more >>


DevelopmentNow Blog