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 > october 2004 > threads for october 22 - 28, 2004

Filter by week: 1 2 3 4 5

Code Access Security -- Simple but working examples
Posted by geeksgk NO[at]SPAM yahoo.com at 10/28/2004 6:02:18 PM
Folks, I'm desperately trying to understand code access security. MSDN and VS.NET help files explains the concepts in details but the code snippets does not help to put the whole picture together. Can anyone point me to any article or web site where there is a step by step walkthru to help ...more >>


.net Impersonate with integrated authentication client server problem
Posted by Ajnabi at 10/28/2004 8:08:15 AM
Hi, I build a asp.net web application to update user accounts in Active Directory (AD). This application works fine on my test server when I acces the web application on the server it self and update an user account (using an administrator account). My settings: -In all cases I tried with th...more >>

Session Coliiding
Posted by ariel at 10/27/2004 11:20:39 AM
Hello there; IT' there any posibility session can collide or mixed into another session(s), means two o more users logged with his own credentials and running differents scenarios ( mortgage application ) can see data from another logged user (?), we developed a web site ( .net/SQL ) and ...more >>

Quick ? on Forms Authentication
Posted by Daniel.Peck NO[at]SPAM gmail.com at 10/27/2004 8:06:29 AM
Hi, I'm using asp.net form authentication. The problem i'm having is when my cookie expires it redirects me to the login page, so I log in again and it brings me to the page that I was on last before the cookie expired. Is there something I can do so that after I login it always redirect ...more >>

Access folder from the network
Posted by Raj at 10/27/2004 6:23:03 AM
I am keeping all the images out of the webserver. This is in some other system in the network. Can anybody please give me workaround in asp.net, like how to access folder from a remote machine in the same network. Pls give the shortest way to do this. It fails to access folder from the remote ...more >>

Access remote folder files in the network
Posted by Rajesh at 10/27/2004 5:07:02 AM
In my ASP.NET application, all the images files are stored on a machine other than my web-server. In a webform i am accessing the image files stored in that folder in the remote machine. Folder path is configurable in the web.config file. The webserver and the folder machine in the same networ...more >>

Authorization problem
Posted by Nikolay Petrov at 10/26/2004 4:54:41 PM
The following code doesn't produse the expected effect to only allow the members of Administrators group to access the web method, it stops everyone. ========= <WebMethod(), _ PrincipalPermission(SecurityAction.Demand, Role:="Administrators")> _ Public Function HelloWorld() As ...more >>

expiring passwords with impersonated identity
Posted by Anton Sokolovsky at 10/26/2004 12:07:44 PM
Hi all ! Imagine ASP.NET application impersonating specific identity with webconfig: <identity impersonate="true" userName="accountname" password="password" /> When accountname user is specially created to run this application and noone uses it for interactive logon, there is no standard way...more >>



Process.GetProcessesByName throws exception
Posted by howard39 NO[at]SPAM nospam.nospam at 10/25/2004 5:17:02 PM
We a Web application that has been running for months, but suddenly (i.e. over the weekend) stopped working. To narrow down the problem, I wrote the followng page_load handler in an ASP.Net test application: public void Page_Load(Object sender, EventArgs e) { Process currentProcess ...more >>

Client Side Certificates for Web Services?
Posted by localhost at 10/25/2004 1:22:30 PM
Part 1: I have a simple web service. I would like to protect the web application by only allowing callers that have a client-side certificate installed. How can I do that programmatically? I have no access to the IIS metabase, so I need to do it in web.config or in my application .cs code....more >>

Impersonation headache
Posted by James Pemberton at 10/25/2004 9:25:48 AM
I have been fighting with impersonation for quite sometime now and now matter what I have tried it just won't work. I am trying to get information on two items: 1) I'd like to retrieve a file listing from a directory on our file server. As with most cases I have read about, it works ...more >>

Help with forms auth
Posted by Chris at 10/25/2004 7:17:03 AM
Hi, I am using forms Auth on my WEB APP. I am checking the credentials in sql server. When a user request any page other than login.aspx they get the page. Shouldn't they be forwarded first to the Login.aspx? This is a section of my web.config file --> <authentication mode="Forms"> ...more >>

User ASPNET
Posted by João Abreu at 10/25/2004 6:43:02 AM
I have a share in other computer and I want access to that sahre with my web application. For that I do: - Create a User ASPNET in my domain - Use that user in machine.config file. - Give permissions for that user to my share Ok, This work with Windows 2000 Pro, so, I try to do this with Win...more >>

CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired during encryption
Posted by justwantananswer NO[at]SPAM rediffmail.com at 10/25/2004 3:11:47 AM
Hi, We are trying to encrypt and decrypt some fields using RSA algorithm.The class being used is RSACryptoServiceProvider.We have put a key in its XML representation in Registry and evrytime whenever we invoke our custom encryption class, it instantiates RSACryptoServiceProvider class with its ...more >>

Forms Auth and FormsAuthentication.SignOut()Question
Posted by Patrick.O.Ige at 10/24/2004 10:55:04 PM
I'm using Form Auth. I 'm using the FormsAuthentication.SignOut() to sign out But when the user logins in and later logs out using FormsAuthentication.SignOut() When the user clicks the back button he is still authenticated on the PAGE why!! Is there anyway i can remove the cache or somethi...more >>

Role based Forms Authentication (using Active Directory)
Posted by Patrick.O.Ige at 10/24/2004 10:17:01 PM
Hi All, Can anybody here kindly forward me a sample of a Role based forms Authentication using Acitve Directory? Thanks alot. P...more >>

CreateDirectory working inconsistantly from ASP.net
Posted by David Davies at 10/24/2004 8:51:02 PM
Please HELP !! I have a web page that is trying to create folders on a file server eg. \\SERVERNAME\F4\Projects\[New Folder Name] Users of the web site are authenticated with Windows Integrated Security. (have tried on W2003/IIS6 and W2k/IIS5 with no difference in behavoir) When a ...more >>

TO run an Application from Batch file
Posted by freetorn2002 NO[at]SPAM yahoo.ca at 10/24/2004 9:34:36 AM
Hi, I want to run the batch file from the asp.net web(intranet)application. The batch files works fine if it has some copy or del command, eventhough i could not see the command window. But if the batch file has some application for e.g., Notepad,it seems to open the notepad as i could see it r...more >>

user accounts?
Posted by Sweet_Eliza at 10/24/2004 4:09:05 AM
How did a user account get on my computer of ASP.net with a password protected accoubt and what do I do with it or how do I deal with it??...more >>

user account
Posted by Sweet_Eliza at 10/24/2004 4:07:01 AM
How did a user account get on my computer.(windows xp) and what or how so I deal with it...more >>

Login failed for user 'MachineName\ASPNET
Posted by pshiue at 10/23/2004 4:07:01 PM
I am developing ASP.NET application in VS.NET. It gave me an error message "Login failed for user 'MachineName\ASPNET". I tried to share the database directory but it did not work. I look into the database connection when setting the properties. It tested OK. However, when I run the app...more >>

Login failed for user 'MachineName\ASPNET
Posted by Paul at 10/23/2004 3:59:01 PM
I am developing ASP.NET application to connect SQL database. It gave me the error message as "Login failed for user 'MachineName\ASPNET". I have tried to share the database directory but it did not work. I also look into the knowledge base Q316989 but I am not getting it. I am using VS.NET...more >>

Windows Authentication for ASP.NET
Posted by AD at 10/22/2004 4:34:03 PM
I have a ASP.NET application with <authentication mode="Windows" /> and <identity impersonate="false" />. IIS is configured to use only "Integrated Windows authentication". I need to get the NetworkCredential object from the logged in WINDOWS user to pass it to another application. I tried t...more >>

Server Error: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll.
Posted by Sam Fields at 10/22/2004 11:56:22 AM
I have found very little regarding the error "Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll. ". I have an ASP.NET Web Service being accessed via SSL. I found a website indicating that if any of your .dll names are security.dll, it could cause this issue. I ...more >>

Authentication question
Posted by Nikolay Petrov at 10/22/2004 9:36:26 AM
Can I authenticate users of my ASP .NET apps, using their windows credentials, but using a SQL db. Let me explain a little more. I have an Windows XP station where i run my ASP .NET apps. I wish users to authenticate them using their current windows usernames and passwords. I have stored my u...more >>


DevelopmentNow Blog