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 > november 2005

Filter by week: 1 2 3 4 5

Catastrophic failure
Posted by mamin at 11/30/2005 8:32:35 PM
When I'm trying to run any asp.net application, the following error appears: "CS0007: Unexpected common language runtime initialization error --Catastrophic failure" I've reinstalled .NET Framework but without any results.I've also tried to use aspnet_regiis -i but the problem is still the sam...more >>


force new challenge response
Posted by Big Cone at 11/30/2005 3:40:36 PM
how do you really log out so that you not only abandon the session but you force a new challenge response Please have this on my desk by tomorrow morning or I will lose my job ...more >>

SSL port 443 only for certain pages
Posted by Chris Davoli at 11/28/2005 9:31:10 AM
I've got an asp app that needs to use SSL only for certain pages. Is there a way to shut off port 80 for certain pages (HTTS pages), but have it open for other pages? Can this be done in IIS? OR is this something we can do testing server variables in the asp classic vb script code? -- Chr...more >>

web service security w/ mixed mode auth - seeking advice
Posted by MR at 11/28/2005 8:59:47 AM
Hello, I'm using the .NET 2.0 platform to created a distributed application with a Winforms client application connecting to a web service layer. I would like the client to be able to pass username/password auth credentials to the web service, which could then be validated against a local dat...more >>

problem with thrust policy on web server
Posted by Aahz at 11/28/2005 1:50:38 AM
I have asp.net 1.1 web site with two controls downloaded from internet (obout slide menu and webcharts), which runs fine on the old server. Few days ago my hosting provider sent me on new server with restricted trust policy (medium trust). Since that I cannot configure my web.config to run !!...more >>

how to Change Membership Settings at runtime and Read From Resourc
Posted by ken at 11/28/2005 1:42:02 AM
Hello all, I want to read Membership setting From Resources like Webconfig and change read setting by program how can I do ? Please help. ...more >>

List windows users in a specific role
Posted by Dorte at 11/28/2005 1:16:09 AM
Hi, My ASP.NET application is for intranet use, and thus the level of security does not need to be high. The application uses windows authentication and administrators of this application need to get a list of the users that belong to a specific windows role. Is there a method I can use...more >>

Help With Security Please
Posted by kirby.matt NO[at]SPAM gmail.com at 11/27/2005 8:39:12 AM
Hello, I am in the design stages of an ASP.NET application for my company, and I am wondering how I shoudl handle security. Even though this application is going to be internal and only 2-3 users, who will rarely change, they still insist on making it a web application. My first inclination is...more >>



help :Basic Digest vs Windows integrated ???
Posted by serge calderara at 11/27/2005 7:47:01 AM
Dear all, does anyone can explain me clearling the real different between Windows integrated authentication and Basic Digest ? I know for instance tha Windows authentication is use with a company intranet or Company satelites over the web. No need to ask for password when identified. ...more >>

accessing WebService from asp.net App on load balanced Servers
Posted by Jason at 11/27/2005 12:38:01 AM
Hi, I have an ASP.Net application that retrieves Data from a Web Service. When the Web service resides on the same server I have no problem and the asp.net page functions as expected. I am using impersonation and the credentials are being passed to the web service as expected. Now, when...more >>

Forms Authentication Question
Posted by Rob at 11/26/2005 9:38:07 AM
I would like to use Forms Authentication on my website but only certain pages need to be authenticated. In other word, users can browse many pages on the site without having to log in but when the access certain pages, they have to be authenticated. Can I use Forms Authentication in this sce...more >>

System.Security.Permissions.FileIOPermission
Posted by Simon Cheng at 11/24/2005 5:41:28 PM
Hi, I am getting the following error when trying to read an XML file. Is there some setting in web.config or machine.config that needs to be set? Thanks, - Simon Server Error in '/' Application. -------------------------------------------------------------------------------- Security...more >>

Forms authentication to secure various static content?
Posted by Michael Brandt Lassen at 11/24/2005 2:36:02 AM
Hi there gurus, I’d like to secure both dynamic AND STACIC content (html-files, gif’s, Office documents etc.) using forms authentication. In my ASP.net 2.0 test application forms authentication secures all content out of the box on the ASP.net Development Server. However, publishing t...more >>

forms authentication across multiple web servers
Posted by Roel at 11/24/2005 12:00:00 AM
Hi, I want to provide a single sign on for 2 web applications hosted in different environments. I set the machinekey to the same value in both web.config files (also i set them to the same value in the machine.config files). The <authentication mode="Forms" > section is exactly the same in...more >>

Single sign-on?
Posted by Jeff at 11/23/2005 11:52:06 AM
Hello All, This has probably already been asked - and if so - please direct me to the proper thread.. If not: Once a user is logged in via our domain controller and can access the network and authorized shares - how do I configure an ASP.NET 2.0 app (running in the domain on a web serve...more >>

Passing user credentials to another server...?
Posted by Wizard! at 11/23/2005 9:41:23 AM
Ehlo :) I am having this problem: Server A runs IIS and .NET framework Server B runs Microsoft Media Server users authenticate themselves to server A using web forms. SOME of them, have payed access to server B, so I need to redirect them there and view some streaming content. On server B...more >>

Can I filter a list based on Profile Value
Posted by Doownai at 11/23/2005 6:31:07 AM
Hi, I have a listbox that I populate with a list of all users for the application: listUsers.DataSource = Membership.GetAllUsers I would like to have a listbox that is populated by all users in the application that share a certain profile value. something along the lines of: ...more >>

Help in forms authentication
Posted by JessyEzzy at 11/23/2005 5:26:02 AM
I am using forms authentication against a database <authentication mode="Forms"> <forms name="MyFormsAuthentication" loginUrl="login.aspx" path="/" protection="All" timeout="20" /> </authentication> <authorization> <deny users="?" /> </authorization> I have a requirment for a type ...more >>

What event is fired after authentication?
Posted by Jeff at 11/22/2005 2:38:24 PM
Hello, Using the login controls - what event is fired immediately following user authentication? I've tried the 'LoggedIn' event - but the user is still not authenticated? Thanks ...more >>

MD5
Posted by Marre at 11/22/2005 12:00:00 AM
Hi all! I have a md5 question. I receive a md5 string created with Message-Digest algorithm and I want to create the same string in my webapplication. I have this values to go on: myMD5String = MD5(mySecretValue2 + MD5(mySecretValue1 + "some string")) myMD5String should of cource be t...more >>

Default Authentication Ticket Expiration
Posted by ryan.d.rembaum NO[at]SPAM kp.org at 11/21/2005 4:15:21 PM
I have what I hope will be a quick question: If I use a NON-PERSISTENT default authentication ticket (i.e. One created by redirectfromlogin with persistent = false) what is the default expiration of said ticket? Is it based on the session timeout in my web.config file? I am trying to creat...more >>

Security Exeception during upgrade
Posted by SteveWestling at 11/19/2005 8:30:03 AM
I'm upgrading from a Framework 1.0.3705 app to a Framework 1.1.4322 app. When I try to make my first call, where the system registers my components in component services. But now I get the following message: Server Error in '/theSolver' Application. Security Exception Description: The appl...more >>

detect https
Posted by SJ at 11/18/2005 10:01:11 PM
How would I detect if a server is running securely (https) or not? -SJ ...more >>

IIS (asp.net 2.0):: logon failure
Posted by Ed Warren at 11/18/2005 9:07:56 AM
System WinXp, running IIS, with asp.net 2.0, Visual Studio 2005, sqlServerExpress 2005 I'm trying to install a program that builds a database via IIs. I get the following error when it trys to connect to the sql server "Login failed for user 'sa'. The user is not associated with a truste...more >>

database error on host with medium trust level
Posted by Shukri at 11/18/2005 8:11:45 AM
I recently got web hosting for my asp.net applications. The hosting firm runs with medium trust level - that cannot be changed. All my low-level database accessing code is compiled into a DLL which I link to from my asp.net application. The database connection etc is managed in this dll. Wh...more >>

Display list of users
Posted by Arvind R at 11/18/2005 12:00:00 AM
Hello, how to display on the particular page where the list of users currently logged in and total no of users currently logged in? any sample code or apps? -- -- Thanks in advance, Arvind ...more >>

Form Authentication and logged in users (newbie)
Posted by Lorenzo at 11/17/2005 8:56:33 PM
Hello I appreciate some guidance on Form based authentication. On a training project I successfully log in and off users with simple the simple Form authentication. I am not storing credentials on the webconfig but on a DataBase, I followed the article from Microsoft at the following addres...more >>

Can asp.net find Windows login name?
Posted by Brad Burke at 11/17/2005 7:06:02 PM
Can I create an asp.net web page that finds the current user by looking at their Windows login name or are security setting going to limit me? When a page first opens, can I use code similar to my current VB6 code: Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetU...more >>

Authenticate user is in local NT group
Posted by Bob at 11/17/2005 4:03:34 PM
I have an IIS server (Windows Server 2003) on an NT domain. I have an ASPX page (using C# and .NET 2.0) which queries a bunch of files (an index server query) and then displays links of the matching files to the user. The links are network UNC paths into the same server. The share is secure...more >>

forms authentication with domain account from DMZ?
Posted by Darwinian at 11/16/2005 6:23:01 PM
We want to use Domain Security for our password and userID data store and be able to authenticate with this domain acount from a forms based authentication implementation deployed outside the firewall in the DMZ where the web server has no access to the domain accounts. I have thought we co...more >>

From ASP.NET 1.1 to 2.0:
Posted by mlfblom NO[at]SPAM gmail.com at 11/16/2005 12:53:19 AM
Hi, Recently, my hosting partner (shared hosting) updated my account from ..NET 1.1 to 2.0. After this update one particular call to a DLL (freeware Metabuilders FirstFocus) results in an error: System.Security.SecurityException: That assembly does not allow partially trusted callers >Fr...more >>

WindowsIdentity in a WinXP Platform
Posted by Kishore Gopalan at 11/14/2005 8:50:08 PM
I have the username of the format domain\username in a string. I need to get a WindowsIdentity for this user. WindowsIdentity(string) constructor is said to work only in Windows Server 2003 platform. I use WinXP for development. In XP platform, If I need to get a WindowsIdentity object when I ...more >>

asp.net 2.0 membership provider and manager- Cont.
Posted by TdarTdar at 11/14/2005 8:02:02 PM
Hi [MFST], I was thinking as you know I cannot seem to get the .NET Web Site Administration Tool work right, probally something i did. But anyways, It does work with my visual studio on my non deployed app. Now I have noticed that when I deploy the app I am having to recreate my user ...more >>

HttpClientCertificate
Posted by Bill at 11/14/2005 5:42:02 PM
Hello, I'm currently checking if someone has submitted a certificate using the following upon logon: ======= HttpClientCertificate cs = Request.ClientCertificate; if(cs.IsPresent) { .... } ====== Which works great. The only problem is when the user logs out the certificate is still ...more >>

Win32 DPAPI - Drawbacks?
Posted by ryan.d.rembaum NO[at]SPAM kp.org at 11/14/2005 1:54:11 PM
I have an ASPX form (.net) that has a connection string in the web.config file. I have been trying to figure out how to encrypt the string and have stumbled across the Win32 DPAPI as the recommend tool of choice since it does not require you store the keys anywhere. I have a few questions thou...more >>

Problem with authentication using DefaultCredentials
Posted by elora_c NO[at]SPAM yahoo.com at 11/14/2005 11:23:27 AM
I have a webservice that needs to use the current user's credentials instead of the worker process. In my webservices web.config, I have <authentication mode="Windows"> and <identity impersonate="true"> In IIS, I have anonymous access turned off and Integrated Windows authorization turned on. ...more >>

Forms Authentication
Posted by frpascal at 11/14/2005 9:49:55 AM
Hi, For an Intranet, I try to capture the windows logon automaticaly to identify the user with a little javascript. I put this varaible in an Input object and use it with a "FormsAuthentication.RedirectFromLoginPage(LoginUserWindows.Value, False)" just before the Response.Redirect("\Planning\...more >>

Get list of Roles for a user
Posted by Kishore Gopalan at 11/13/2005 9:54:03 PM
I need to get a list of roles to which a User belongs. I tried using the code, IdentityReferenceCollection icol = WindowsIdentity.GetCurrent().Groups; But it only returns SIDs. Is there a way I can get the actual roles to which a User belongs..? Thanks Kishore...more >>

Problems with setting up security tab
Posted by Sophia at 11/13/2005 8:32:23 PM
Hello, I hope somebody can help me with this, I am getting crazy! When I click on the security tab on the WSAT page (Website/ASP.NET configuration) I get the following message: "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or b...more >>

Transfer authentication token - how to single sign-on
Posted by Dave Slinn at 11/12/2005 10:52:55 PM
We have an ASP.NET app that uses Forms Authentication, but we wrote the authentication piece to query Active Directory for credentials approval. This is all working fine, but what I would like to do is provide a link from from our asp.net app to an Outlook Web Access server. When I do this, ...more >>

location authorization
Posted by TdarTdar at 11/12/2005 10:23:05 AM
Hello, using the location stuff, do i have to define this for each sub directory in this directory also or is there something i can do to include the subdirectories in the=: <location path="SITE_ADMIN" > <system.web> <authorization> <allow users="SADMIN" /> <...more >>

Windows Auth question/issue
Posted by C Trailer at 11/11/2005 5:59:13 PM
Hi, thanks in advance for any suggestions or help. I have a client who setup a DMZ server W2K3 Standard SP1, IIS 6, ASP.NEt 1.1. The server is dual homed, one address to the private network and one going to an external address. I'm trying to get Windows Authentication to work properly. I...more >>

Get.Roles / IPrincipal
Posted by Ryan at 11/11/2005 12:00:00 AM
Hi Guys. I'm having problem getting Get.Roles to work on my production environment (Multiple Domains) I have it working locally on my domain test environment however. When executing via a page on asp.net on the production box (client machine) Response.Write(Environment.UserDomainName) ...more >>

LDAP
Posted by jsh02_nova at 11/10/2005 4:21:47 PM
Anybody have experience with authenticating PKI certificates with CA using LDAP? I'm try to find a .Net algorithm or code that makes a LDAP request. thx -jhs ...more >>

Directory Security
Posted by Craig at 11/10/2005 8:40:13 AM
Hi I'm using forms authenication to security my site. I have a sub-directory which contains some .pdf, .xsl, .html and .doc files. If a user is authenicated, then they are allowed access to the files in the sub-directory. Here's what I placed in web.config: <location path="Documents">...more >>

Prevent session state expiration while typing on a form
Posted by jim_adams NO[at]SPAM hotmail.com at 11/9/2005 10:47:53 AM
I need to extend session state while a user is active on an ASPX form but has not submitted any data. Maybe AJAX can help here? Thanks for any suggestions. Jim ...more >>

Problems using Azman groups
Posted by Patrick Allmond - Focus Consulting Inc at 11/9/2005 10:45:29 AM
I am using AzMan and XML to do role, group and operation validation. This is all new to me, and I am working in VB. My application is using Windows Authentication. I have several questions: 1. When trying to authenticate that the current user has access to an operation I use this code: Result...more >>

Problem with focus for Login control and MasterPages
Posted by JeremyHolt at 11/8/2005 2:19:07 PM
I am using a master page with an ImageButton. When I drop the Login control in the <asp:content /> part of a new page, the LoginButton no longer receives the focus when the user tabs out of the text boxes. I've tried: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.Event...more >>

Windows auth timeout
Posted by Tumurbaatar S. at 11/8/2005 12:00:00 AM
My app uses Windows auth and it seems it does not have any method to sign out a user. Is there any way to do it? ...more >>

help on httpmodles
Posted by Arvind R at 11/8/2005 12:00:00 AM
Hi, I need to log all info,of whoever logs into my application and what all he clicks...and which all methods are executed and what parameters are passed. Is there any way I can log info at a single place....a common place and so that I dont need to put code in all methods and in all pages... ...more >>


DevelopmentNow Blog