user

How to make subdomain user accounts in a webapp

I am looking to allow users to control of subdomain of an app I am toying with, much like Basecamp where it is 'customusername.seework.com'. What is required on the DNS end to allow these to be created dynamically and be available instantly. And how do you recommend dealing with this in the logic of the site? Htaccess rule to lookup ...

What do you look for from a User Group?

I'm in the process of starting a User Group in my area related to .NET development. The format of the community will be the average free food, presentation, and then maybe free swag giveaway. What would you, as a member of a user community, look for in order to keep you coming back month to month? ...

Should menu items always be enabled? And how do you tell the user?

So one of the things that has been talked about a few times on the podcast is whether menu items should always be enabled to prevent "WHY ISN'T THIS AVAILABLE!" frustration for the end user. This strikes me as a good idea, but then there's the issue of communicating the lack of availability (and the reason why) to the user. Is there any...

Enumerate Windows user group members on remote system using c#

Within c#, I need to be able to Connect to a remote system, specifying username/password as appropriate List the members of a localgroup on that system Fetch the results back to the executing computer So for example I would connect to \SOMESYSTEM with appropriate creds, and fetch back a list of local administrators including SOMESYST...

How do I add a user in Ubuntu?

Specifically, what commands do I run from the terminal? ...

Passing switches to Xcode 3.1 user scripts

I have a user script that would be much more useful if it could dynamically change some of its execution dependent on what the user wanted. Passing simple switches would easily solve this problem but I don't see any way to do it. I also tried embedding a keyword in the script name, but Xcode copies the script to a guid-looking filename...

Average User Download Speeds

Any ideas what the average user's download speed is? I'm working on a site that streams video and am trying to figure out what an average download speed as to determine quality. I know i might be comparing apples with oranges but I'm just looking for something to get a basis for where to start. ...

Best Way to Unit Test a Website With Multiple User Types with PHPUnit

I'm starting to learn how to use PHPUnit to test the website I'm working on. The problem I'm running into is that I have five different user types defined and I need to be able to test every class with the different types. I currently have a user class and I would like to pass this to each function but I can't figure out how to pass th...

Multiple permission types (roles) stored in database as single decimal

I was going to ask a question here about whether or not my design for some users/roles database tables was acceptable, but after some research I came across this question: What is the best way to handle multiple permission types? It sounds like an innovative approach, so instead of a many-to-many relationship users_to_roles table, I ha...

Do you know a service like uservoice.com for bug reports?

Is there a service, similar to uservoice.com for bug reports? It should very easy to use for normal, non-techie users be free be easily maintainable ...

Getting user photo from SPUser using WSS Object model

I'm trying to retrieve a user on sharepoint's user photo through the WSS 3.0 object model. I've been browsing the web for solutions, but so far I've been unable to find a way to do it. Is it possible, and if so how? ...

Beta Test Guidelines / Agreement

I'm going to roll out a private beta soon but never participated myself in something like that. So which points should be included in a beta test agreement between me and the users? Pointing me to an example agreement would be a plus. Edit: It's a B2C application. Not related to security. ...

Hierarchical Group Permissions Theory/Resources?

Does anyone know of some good resources related to setting up heirarchical user account systems? I'm currently setting one up and am struggling with some of the more complex logic (especially with determining permissions). I was hoping I might be able to find some resources to help me along. Some Background: I'm building a user account ...

PostgreSQL 8.3 privileges not updated - wrong usage?

Hi, I'm having trouble granting privileges to another user in PostgreSQL 8.3. While the GRANT command gives me no error, the privileges do not show up. Do I need to "flush" them? sirprize=# CREATE DATABASE testdb; CREATE DATABASE sirprize=# GRANT ALL PRIVILEGES ON DATABASE testdb TO testuser; GRANT sirprize=# \c testdb You are now conne...

Have you ever faced an ethical issue when creating an application?

This question isn't about ethical behavior in the workplace, like leaking code or stealing. I'm wondering, have you ever been asked to add a feature to an app that you thought was harmful to users, deceitful, or otherwise unethical, even though it met a business objective? Have you felt strongly enough about the users' need for a featu...

Unix Proc Directory

I am trying to find the virtual file that contains the current users id. I was told that I could find it in the proc directory, but not quite sure which file. ...

What is the best way to add users to multiple groups in a database?

In an application where users can belong to multiple groups, I'm currently storing their groups in a column called groups as a binary. Every four bytes is a 32 bit integer which is the GroupID. However, this means that to enumerate all the users in a group I have to programatically select all users, and manually find out if they contain ...

Using windows authentication to log on to site using c#

I am looking for a way to log on to a server inside my program using windows authentication of the current user logged in. I thought that perhaps I could use System.Security.Principal.WindowsIdentity.GetCurrent().Name but while that does give a name, I do not see how I can find out the password of the user to enter it in. Anyone know...

How do you store/share online your personal documents ?

For photos, I use Flickr. But for other documents...Which web based online application (hosted or to install on your personal web site) do you use for PDF or word files ? If there is a user management it would be also great (for example you decide that some persons, or everyone, can see some of your documents...). ...

Getting multiple UI threads in Windows Forms

I'm trying to figure out a way to make user controls run in their own UI threads. Is this possible? I'm trying to prevent a module-based application from crashing due to a single module. Any thoughts? ...