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 > august 2006 > threads for august 8 - 14, 2006

Filter by week: 1 2 3 4 5

Role Providers Cache
Posted by Tom at 8/14/2006 5:05:02 PM
If you do not cache role provider to Cookies with the cacheRolesInCookie="True" in your role provider configuration, will it default to cache to Session. We may have over 200 roles for some users and I am concerned about the size of the cookie but would like the role cached if posible. W...more >>


Detailed docs on how forms authentication works?
Posted by news.microsoft.com at 8/14/2006 12:06:16 PM
Can anyone tell me where to find detailed documentation on exactly how Forms Authentication works? The docs and tutorials I've found don't tell you much, just how to use it in a common scenario but there's no description of what's going on - it's just a black box. I'm doing something unu...more >>

Advanced Forms Authentication
Posted by news.microsoft.com at 8/14/2006 12:04:05 PM
I've got a web site with URLs like the following: http://www.mysite.com/nnnn/webpage.aspx where nnnn is a number which represents an ID, e.g. http://www.mysite.com/1234/webpage.aspx. I can easily decode the URL and retrieve the ID (which represents a specific customer) and then rewrite ...more >>

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib,...
Posted by Leyla at 8/14/2006 10:52:42 AM
Hi All, I have created a simple windows control that had one button and opens up FolderBrowserdialog box. When I a try to uses this control in my asp.net app, it generates the following error: "System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions...more >>

Trusted Connection
Posted by Chris Davoli at 8/11/2006 1:19:02 PM
We are changing from using SQL accounts in our connection string to use NT domain accounts. I have found some coe which I am using successfully on my local machine, because the installed account ie; MachineName\ASPNET is what I use in my VS2005 environment and this works great connecting local...more >>

Access denied. delegation scenario accessing to a shared resource in cluster
Posted by jose.cortijo NO[at]SPAM gmail.com at 8/11/2006 2:16:07 AM
Hi, I have an asp.net app and in one aspx I need to read and write in a shared direcotry in a cluster. My code is the following: log.Debug("I am...." + System.Security.Principal.WindowsIdentity.GetCurrent().Name); DirectoryInfo raiz = new DirectoryInfo(ruta_Excel); FileInfo[] archivos = rai...more >>

using .p12 and K509 in NET 1.1
Posted by Steve Harris TriRidium at 8/10/2006 8:50:03 AM
Hi, We are trying to use a P12 certificate to access a secure website using .NET 1.1 We have installed the cert and exported it as an X509. We have also used the winhttpcertcfg utility to add IWAM permissions for it. We have then programmatically added an X509Certificate object to the ...more >>

authentication
Posted by ush at 8/10/2006 4:34:02 AM
How to maintain session across applications for authenticating purposes ...more >>



Help needed in finding the right place to start
Posted by David Haynes at 8/9/2006 5:32:18 PM
I would appreciate some pointers to the correct place to start learning how to achieve the following: 1. I have a web service (SOAP) that needs to be authenticated prior to use. 2. The authentication is of the form: login and password 3. I want to be able to: a) authenticate the login/passw...more >>

Roles - Access Rule Storage
Posted by Matt at 8/9/2006 5:11:17 PM
Can anyone tell me if is is possible to override how a web application = stores/retrieves the Access Rules for roles? Instead of using the = web.config to store the following: <system.web> <authorization> <allow roles=3D"Admin" /> </authorization> </system.web> I would l...more >>

newbie: simple login page
Posted by sandhyanp NO[at]SPAM gmail.com at 8/9/2006 8:17:46 AM
hi. i'm trying to write a simple test login page which will provide login for 2 users. my web.config file reads as follows: <?xml version="1.0" ?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <system.web> <authentication mode="Forms"> <forms name="my...more >>

Get List of Roles and Translate(typeof(NTAccount))
Posted by Mario.Trafficante NO[at]SPAM qg.com at 8/9/2006 6:45:41 AM
I am attempting to get a list of the security groups a specific user is a member of when logging into our applications. After finding many methods, I settled on the preferred suggested method of using an IdentityReferenceCollection within the .NET 2.0 frame work. This works well except for one...more >>

Delegation failure with XMLHTTP
Posted by Adam Short at 8/9/2006 6:06:07 AM
Hi, I'm trying to use XMLHTTP to do an out of band call for the contents of a drop down. Basically a user selects an item from a drop down, and the onchange event fires an XMLHTTP request to the server for the contents of a dependent drop down (in this case, the first drop down is categories,...more >>

Custom RoleProvider not being used for SiteMap securityTrimming
Posted by Keith Patrick at 8/8/2006 3:53:58 PM
I have a SiteMap-based application that has custom role/membership providers. The app logs in with the custom membership provider with no problems, but for some reason, none of my role provider methods get called when trimming the sitemap. If I put in roles="*" for a node, it's there, but ...more >>

Getting RolePrincipal to use RoleProvider.IsInRole rather than RoleProvider.GetRolesForUser
Posted by Keith Patrick at 8/8/2006 2:17:58 PM
I have a custom security backend that I need to integrate with ASP.Net 2.0. The problem I have is that being in a role is not evaluated as simply "myRoles.Contains(role)". There's some logic that goes on in a webservice such that I really do have to ask the security system the question: "Is t...more >>

using System account
Posted by Marc at 8/8/2006 10:35:02 AM
I am running Asp.Net under the System account but I do not have access to the mapped drives under my user accounts. Do I need to run as a user to access those mapped drives? Thanks, Marc...more >>

Custom Membership Provider
Posted by David Bowen at 8/8/2006 12:12:51 AM
Hi, I have written a custom membership provider based to access an existing SQL profile store. However when I upload my application to a shared hosting environment I get a security exception of the type IO Exception. This boils down to a number of lines of code in my provider trying to ac...more >>


DevelopmentNow Blog