user-accounts

SQL Server - How many users do I *really* need?

I'm setting up an application, and I'm looking into purchasing a license for SQL Server. My question is pretty simple (though may have a complicated answer...) How many users accounts do I really need, for SQL Server? The way I see it, I'd give one master administration account, maybe 2 or 3 user accounts, and then one application-base...

XP accounts - why does this happen?

Hi all, Quick question regarding my computer accounts. Recently revisted one of my old comps and forgot the admin password :) When I boot up I get screen showing John Doe account - no one else, no admin account. Couldn't remember this password. After a bit of stuffing around, I was able to find out that I have 2 admin rated accounts -...

Building a simple security sandbox on Windows 2008 by automatically creating & restricting user accounts?

I want to build a fairly simple security sandbox for an application hosting service - the main goals are thus: Applications running "in" the sandbox cannot install anything onto the system outside of the directory the executable is running in. Access to the system in general is denied (registry access, et al.). Access to the file syste...

Monitor account activity for SQL Server 2005

I'm looking for the easiest way to view what users are logging into my database. We have some old user accounts that might not be getting used anymore. Instead of just turning them off and seeing who complains, I thought there might be some way to monitor who logs in and runs some type of query over the next month or so. What would be th...

Error trying to delete database user account schema

I'm trying to delete a user's schema from a database and I'm getting the following error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Drop failed for Schema 'ext_owner'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&amp...

Should I have one email/user account for 3rd party APIs or Individual ones for each?

Is there a best practice for using email/user accounts for 3rd part APIs in a business scenario? For example say my company domain is foo.com, and I need to access data from Flicker, youtube, twitter, facebook, jigsaw, Amazon, ebay, and many others. Should I have seperate email addresses/user names like [email protected],youtubeaip@f...

What is the C# analog of this VBScript code that checks the Active Directory password expiration?

I have the following VBScript script that checks the password expiration of an Active Directory user account. Could someone please help me convert this code to C#? Thanks a lot. Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000 Const E_ADS_PROPERTY_NOT_FOUND = &h8000500D Const ONE_HUNDRED_NANOSECOND = .000000100 Const SECONDS_IN_DAY ...

Webservice that handles 1 million user accounts

Imagine you're writing a web app that will have 1 million users (they all grow that big, right!) How would you handle user accounts? I can imagine a few scenarios: Roll your own (database tables, salted/hashed passwords stored in a user profile table) If written with ASP.NET, use the login/role provider (which falls back to the datab...

c#: how to know whether a 'user account' exists in windows?

I have two questions. 1) How do I know if a 'user account' is exists on my windows OS (vista)? I need this information of a stand alone machine. I mean, the machine doesn't joined to any domain. 2) also I want to know whether a user is a part of a group? for eg. is a user 'admin' part of administrator group or not? could anyone pls h...

Include Account info in Users Database

Hi, I'm building my first Rail App and are beginning to setup my database. I have a simpel Users table containg name, e-mail (login), password and so on. The site lets the users bet each other (with monopoly money), so I need to add information about the users current winnings and other delicate matters to the database. Question: Sho...

Java based user authentication

Can someone point me in the direction of a good Java library to use to handle basic user login/authentication. I am looking for a competent I can integrate into a custom app to handle simple user/name password authentication and send account validation/password reset emails. ...

Problem in installing Windows service developed in .Net

I have developed a windows service using C#,visual studio 2008. I have windows xp sp2 installed on my machine. When I try to install the service using installutil tool, after entering the username and password, I get following error. An exception occurred during the Install phase. System.ComponentModel.Win32Exception: The account name ...

Actionscript 3- How to create User Accounts, sign-ins, and admin accounts!(possibly with an API)

Hey, How would you, in actionscript 3 make a way to create, log-in, sign-out, etc. of user accounts? I'm mostly looking for an API i can use and if there is, how would I use it? Alternatively, if there is no way to do it in AS3 as that is a longshot, how could I do it in html using dreamweaver? FYI: this is for a website. thanks for y...

Accessing Unique Identifier (either user, email, or phone) for Android phone in v1.5

Look to identify the user, email, or phone identifier from Android 1.5. I've seen how to access account information from 2.0 and above but need this functionality in 1.5. ...

generating/ storing account activation code

usually on any website after you register they send you an e-mail with an account activation code, is there somewhere some information/best-practices about this technique ? like about how do you generate them, how do you store them, do you encode or not these activation codes ? ...

How to achieve high availability?

My boss wants to have a system that takes into concern of continent wide catastrophic event. He wants to have two servers in US and two servers in Asia (1 login server and 1 worker server in each continent). In the event that earthquake breaks the connection between the two continents, both should work alone. When the connection is rev...

change password code error.......

I've created a code to change a password. Now it seem contain an error. When before I fill in the form to change password.the error is: Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\e-Complaint(FYP)\userChangePass.php:7) in C:\Program Files\xampp\htdocs...

adding user to windows make the administrator icon to disappear !

Hello I used the command "net user" to add a new admin user to windows like that: net user myuser11 myuser11 /add net localgroup Administrators myuser11 /add the problem that after restart windows I only see the icon of the "myuser" and the default windows "Administrator" login icon disappeared !! the "Administrator" files st...

Account verification Yelp style, how is it more "secure" than traditional verification?

For business owners to "take control" of their business page on Yelp, they register for it. The Yelp system performs a telephone call-back. From watching to the video here, it sounds like a telephone version of what we all typically do - e-mail check. For e-mail check, it basically goes like this: User registers > verify e-mail sent ...

Change / Check permissions (Read, Write,...) for the NETWORK SERVICE account with C#

How can I change / check the permissions (Read, Write,...) for a specific folder for the NETWORK SERVICE account with C# porgrammatically ? ...