Groups | Blog | Home


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 > march 2008

ASP.net websetup insists on using Membership provider
Posted by phronima@gmail.com at 3/31/2008 8:06:17 PM
Hi all, I converted a 1.1/Crystal reports 10 web application to 2.0 recently, only to find out that the Crystal Reports.net for VS2005 needs to be installed with a merge module, thus requiring a web setup. This is ok, I've managed to get the Crystal dlls onto the target server.. but now I f...more >>

Cookie expires after 30 mins when I set longer expiring time...
Posted by time is life at 3/31/2008 8:04:01 PM
I use Forms Authentication in my web application, and use the following codes to set the expire time of cookie to 3 days. if( ValidateUser( txtUserName.Text , txtPassword.Text )) { HttpCookie authenticationCookie=FormsAuthentication.GetAuthCookie(txtU...more >>

IE 6.0 hangs when click on submit button of ASP.NET page
Posted by Nam at 3/28/2008 4:52:00 PM
ASP.NET 1.1.4322 Server1: Windows Server Enterprise Ed 2003 – SP2 Server2: Same as Server 1. IE 6.0 –SP2 After we migrated our website from server1 to server2 everything works fine accept for the following on one page: When you click on Save button, this page is supposed to copy a fil...more >>

can't see role in production version
Posted by Keith G Hicks at 3/27/2008 11:34:20 AM
asp.net 2.0 (ms sql 2005) Worked in development but not on production site. I'm testing roles in a couple of pages: if My.User.IsInRole("adminstrators") then 'do stuff or not endif Like I said, this all works fine in development. When I run it on the remote server I can log in and...more >>

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
Posted by Waldy at 3/25/2008 3:10:38 PM
Hi there, I don't know if this is an IIS or SQL Server issue. I have an ASP.Net web application that is set up with Anonymous access turned off and Windows Authentication turned on. The SQL 2000 server (on another machine) is set up for Windows only authentication. The applic...more >>

Changing active directory password through web page - IIS 6.0, C# or VB.NET
Posted by Ram... at 3/23/2008 5:24:23 AM
Hi How do I change active directory password of my domain system from the member system through web page ( C# or VB.NET ). since my application is on member system. My server config: IIS 6.0 , ASP.NET 2.0 Please help me. Thanking you, Ram. Zyme solutions...more >>

Extending ActiveDirectoryMembershipProvider
Posted by Vaishali Patel at 3/19/2008 8:45:02 AM
Hi, I have a custom schema in my Active Directory which has Groups Like RoleGroup, CompanyGroup. There is a custom WebUsers schema as well. Each WebUser is associated with Mutliple RoleGroups and CompanyGroups. 1. How can I extend / customize ActiveDirectoryMembershipProvider to get the list...more >>

Is possible Three attempt in Directory Entry Class
Posted by sameem at 3/18/2008 11:45:01 AM
Hi All, Im using windows athentication, Visual Studio 2005 and Windows XP, . I have written code like below. This code is working fine when Im giving right user name and password. If password is wrong in first attempt that got lock for my Active Directory user. My requirement is, three atte...more >>



Access to video file
Posted by Scottmat at 3/15/2008 9:08:54 PM
Hello, How do I control (allow / deny) access to files such as videos. It seems that can be used httphandler but I can not! Someone would have an idea or a concrete example of code ? Thank you ...more >>

asp.net + c# -> HttpContext.Current.User + directoryentry
Posted by Nicopilami at 3/13/2008 9:20:10 AM
Hi everybody i'm trying to open a directory services connection under the users' (who is navigating the webpage) credentials, like impersonation, but i don't succeed, could you help me ? the problematic line is the following : DirectoryEntry Ldap = new DirectoryEntry(ConnexionAD, ...more >>

SetPrincipalPolicy in ASP.NET
Posted by richlm at 3/12/2008 1:12:11 PM
Just curious really, I want to use a trusted subsystem approach in ASP.NET. There are various ways to achieve it in config, e.g. impersonating the anonymous user, but I observed that the following works too: AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal). This ...more >>

Windows Form Control Hosted in IE - Access to Workstation Resources?
Posted by Joseph Geretz at 3/11/2008 7:04:05 PM
I understand that the default access restrictions will not allow a Form Control hosted within IE to access workstation resources (i.e. Filesystem, Printers, etc.). Naturally, this makes sense. However, is there any way to alter permission settings to allow this? We are contemplating this so...more >>

how check if file or directory exit in network resource
Posted by Owen at 3/11/2008 11:40:52 AM
Hello: I have a application that I can't modify Web.Config to impoersonate with user that have acces to network resource, then I need to check if some path or file exist and create both things too, I have the login and password, how can I impersonate to make those task or how do that. Be...more >>

09'cracked software of ftp download!
Posted by tomwwc36 at 3/10/2008 3:12:42 AM
They are best softwares and best price. The list is not full and now will be more new version, any more need, please mail me: lanndyn@hotmail.com Actel.Designer.v8.1 agilent.ads2008.window DVD Algor.PipePak.v10.1 Cadence.OrCad.v16.0 2CD cass.v7.1 for autocad2006 CD-adapco.Star-CCM.Plus...more >>

How to use SSL for login page only
Posted by Cory J. Laidlaw, Beyond01.com at 3/5/2008 3:10:01 PM
Hi there, I need to setup a web site that starts with a public home page. I would then like to have a link to a login page so I can authenticate them against a database. When I launch my project, it starts under HTTP, which is great. How can I make sure the Login page is under HTTPS? ...more >>

Reconnect to a session and authenticate.
Posted by Jerry C at 3/3/2008 2:43:01 PM
I have an asp.net application using forms authentication. On one of my pages I use a control that does not return the cookies in firefox. (the creator of the control will remain nameless) I can include the session cookie "ASP.NET_SessionId" and the cookie “CD” placed by the forms authen...more >>

asp.net impersonation
Posted by Steve at 3/3/2008 9:10:26 AM
When a Web Service is configured to use windows authentication with no impersonation the client can successfully assess the web service. web.config that works: <system.web> <authentication mode="Windows"/> <authorization> </authorization> </system.web> When I turn on impersonation...more >>

RE: Using AD to grant page and directory accesss
Posted by jc at 3/1/2008 5:30:18 AM
RE: Using AD to grant page and directory accesss For intranet development.. is there anything terribly wrong with authenticating users/pages against AD groups to determine what pages, menus, features they should be allowed to see and use? Why the practice using of cookies and session data w...more >>


DevelopmentNow Blog