Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,837 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,579 people online right now. Registration is fast and FREE... Join Now!




.Net user account getting locked out

 
Reply to this topicStart new topic

.Net user account getting locked out, Security

weedweaver
22 Sep, 2008 - 01:12 AM
Post #1

New D.I.C Head
*

Joined: 1 May, 2007
Posts: 22


My Contributions
The user that is specified in the machine.config file in .Net used for accessing network resources etc. is getting locked out. This has happened twice now, was wondering if anyone knew any denial of service exploits or security problems or application issues that could cause this to happen? When the account gets locked out, the website just keeps throwing these exceptions:

System.IO.IOException: The referenced account is currently locked out and may not be logged on to.

Any ideas as to what could cause this and what I can do about it?

Thanks.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: .Net User Account Getting Locked Out
23 Sep, 2008 - 11:57 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
That's because the ASPNET account doesnt have default permissions to access network resources. You can give it the permissions, but that's a serious security risk.

You can do this in a more safe manner using Impersonation, also Rick Strahl has a pretty good article on this very issue.

Hope that helps smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 05:11PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month