multiuser

Python/Twisted multiuser server - what is more efficient?

In Python, if I want my server to scale well CPU-wise, I obviously need to spawn multiple processes. I was wondering which is better (using Twisted): A) The manager process (the one who holds the actual socket connections) puts received packets into a shared queue (the one from the multiprocessing module), and worker processes pull the ...

Is MS Access (JET) suitable for multiuser access?

I have a product designed to be a desktop product using MS Access file as a DB. Now, some users need to install it in a few PCs (let's say 2 or 3) and SHARE the database. I thought to place the MS Access file in a shared folder and access it from the PC, but... the JET Engine is designed for multiple user access? Any tips or things to...

Legacy MS Access application needs to support multiple users

I'm currently on a 4-person team tasked with the development and maintenance of a legacy MS Access application. The application is quite large, with hundreds of forms, reports, queries, and tables. Currently we have the front end split into about 7 mde components, each of which is essentially an application in its own right, joined by ...

Store user privileges - the smart way

I'm doing an app that should be for multi-user. currently I have a file that stores username + md5 password hash (with username as salt) Now I app should be enhanced so that different user can have different privileges. How would you store them the smart way so that nobody can change them but that it's still good to handle for me? I'm ...

Handling Multi Users (issuing invoices)

Handling Multi Users Requirements: I have an applications (mysql php jquery) where the users can: Review records and update certain fields. Issue invoices by selecting orders. Issues: The issue is that an invoice should not be issued twice for the same time period. Also, a field should not be updated by two or more users at the sa...

Where to start to build .NET Multiuser Chat Application?

Hello, Which .NET namespaces should I be looking at if I'd like to start writing a very simple chat application (in C#)? Please let me know if there's a way that I can clarify or expand on this to make it a more precise question. Thanks, Adam ...

Handle InvalidItemStateException in jackrabbit

We are now experiencing a number of InvalidItemStateException in our web application caused by 2 or more users updating the same content. As far as I understood it is in design of JackRabbit to throw javax.jcr.InvalidItemStateException in such situation and that's ok, but I wanted to ask about the common way to handle that. We are fairly...

Web application vs. linux multiuser application

I have a web-based bussines application written in C#/ASP.NET Recently my boss start pushing to re-write the app as Linux multi-user desktop application. In his design users will need to connect to Linux server via VNC or alike to use the app. I am not familiar with this kind of application design. I'd appretiate any help explainig pro...

Simple multi-user database solution

I've written a Windows desktop application that works with Sqlite very nicely. It was a single user app, and the database sits right on the machine where the app runs. However, the application has grown, and now multiple users should be able to run the app and connect to one shared database. I'd like to just be able to share the sqlit...

Why just file locking in multi-user systems is not sufficient?

Ritchie claims that file locking is not sufficient to prevent the confusion caused by programs such as editors that make a copy of a file while editing and then write the original file when done. Can you explain what he meant? ...

PHP multiuser login class or script

I am looking for a simple but secure login script with mySQL PHP: sessions, MD5 that I can use with my exsisting database. Cookies to store password + password recovery by email. Change login/pass. I do not need registering, I register the user myself with temp login/pass. table agents agent1 agent2 table albums album1, owner: age...

How use a single project file in XCode (in several computers)

I code in 2 differents computers with diferent username. XCode make a pbxuser file for each one, making necesary replicate the config from each one. This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this? ...

automating write conflict messages

is there any method to avoid the annoying write conflict messages by automating and hiding the process so that it doesn't appear as if the program is defective? there doesn't seem to be any point to these messages anyway as there is only one real choice which is to drop the changes. ...

How does Task Parallel Library scale on a terminal server or in a web application?

I understand that the TPL uses work-stealing queues for its tasks when I execute things like Parallel.For and similar constructs. If I understand this correctly, the construct will spin up a number of tasks, where each will start processing items. If one of the tasks complete their allotted items, it will start stealing items from the o...

How to implement Auto_Increment per User, on the same table?

I would like to have multiple users that share the same tables in the database, but have one auto_increment value per user. I will use an embedded database, JavaDB and as what I know it doesn't support this functionality. How can I implement it? Should I implement a trigger on inserts that lookup the users last inserted row, and then ad...

Methods for ensuring security between users in multi-user applications

I'm writing a multiuser application (.NET - C#) in which each user's data is separated from the others and there is no data that's common between users. It's critical to ensure that no user has access to another user's data. What are some approaches for implementing security at the database level and/or in the application architecture ...

best way to develop multi user database driven application. (C# wpf sql server replication)

we have a C# wpf based application and want it to be a multi user thingy now. database is ready for it. We have database replication say across 10 sites ... which is the best architecture for converting this into a multi user application? this is a desktop application. thank you. ...

How to don incremental multi user updates with NHibernate

Hello, I use nhibernate as my orm and i am trying to implement something that looks straightforward but has become unneccessarily difficult. It concerns how to implement concurrent updates to an entity where it is expected that the entity will be updated simultaneously by more than one user in a multiuser scenario. The entity is an acc...

Wordpress 3.0 Mult-User - Data Sharing Between Sites

I'm creating a custom solution on Wordpress 3.0, that has multiple different sites using the multi-user capability. I want to know if Wordpress has any functions that allow you to pull data from the same custom post type across all of the sites. An example is news. All of my sites have a custom post type called News. I want to be abl...

Rewrite Rules for Subdirectories in Wordpress 3 Multiuser with nginx?

My Wordpress 3 multiuser has been enabled, but I don't know how to rewrite the following .htaccess rules for nginx: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-...