user

FreeBsd: let users of the same group have automatic read/write access to files and folders created by them

Hello! I'm in a FreeBSD-environment where we have one server that acts as a file-server. Now we have a problem that our SYS-admin says can not be fixed. All or files resides in a folder and we all have access to that folder and its subfolders and files. The problem is that once I,or another user in our group, creates a file or folder ...

Generic way to ask which browser they're using ?

What I would like to do is have a text input with the question "what browser are you using" above it. Then when a form is submitted, I'd like to compare their answer to their User-Agent HTTP header. I'm a little stumped on how to reliably make this work though. I could ask them to spell it out instead of using acronyms like IE or FF, b...

What is the easiest way to integrate PayPal into a registration system?

Hi Does anyone know how to integrate a one time fee into paypal? The user clicks SignUp then is taken to a page to confirm t&c's and where they pay £50, they are then - if successful, taken to a page where they can enter details and create an account... but i only want this page to be visible to users coming from paypal... I thought abo...

Securely enforcing user-inputted file paths within subdirectories

I know the solid security recommendation of avoiding accepting user input that you then use to choose a path to read/write a file. However, assuming you have a base directory you want to keep within (such as the root of an ftp folder), how do you best ensure that a given user input keeps us within that folder? For instance, Path.Combi...

Getting user temporary folder path

How I can get the user's temp folder path in C++? My program has to run on Windows Vista and XP and they have different temp paths. How I can get it without losing compatibility? ...

Mentioning the word "exception" in an user manual

I'm trying to dumb down how I mention "whenever the application resets due to an exception-handled runtime error", especially the exception-handled part. What would be a much easier term to understand than "exception-handled runtime error"? Thanks in advance. ...

Rename user name iSQL plus

Hi there, I was wondering how you would change the name of a username in iSQL plus. Thank you. ...

Alter developer username iSQL plus.

How would you go about altering the developer username in iSQL plus. For example I have the current username: developer and want to change it to ccc123_developer ...

If you had a "Wall Of Truth" to educate non-programmers, what would you post?

At one organization, we didn't have offices or cubicles. We had tables in a conference room. All conversations were public. Some folks would notice the repeated themes in some of the conversations, which lead us to put big posters on the "Wall of Truth" so we would not have to repeat ourselves so often. Here are two examples: No Dat...

How do I run a command as a different user from a root cronjob?

I seem to be stuck between an NFS limitation and a Cron limitation. So I've got root cron (on RHEL5) running a shell script that, among other things, needs to rsync some files over an NFS mount. And the files on the NFS mount are owned by the apache user with mode 700, so only the apache user can run the rsync command -- running as root...

Drupal6: Anon doesn't have "view field_x" permission, but it still shows up in a view

In my Drupal6 site, I have a field called "Short term attendance". I have it set so Anon users are not permitted to view this field. (This permission is granted by the profile_permission module). However, I have a View where short term attendance is one of the fields. When Anon is looking at this View, it sees that field, in addition to ...

What is the best Wordpress Plugin for Email?

Hi Could anyone recommend a good wordpress plugin that simply allows me or any user with a certain roll/capability to access an email page. Here they can select a role to send emails to, write the subject and content of the email. Also it would be great to have some hooks such as: %firstname% %lastname& I have looked at WP-Email and...

Database design: merge users from different logging systems (google, facebook, openid ...)

Hallo, I need to merge users from several souces some how, for example facebook, Google, plaxo... Currently I have this structure in my database: USERS_MYSITE mysite_user_id | parameter | value ------------------------------------------ 223 | firstname | Tom 223 | lastname | N. 223 ...

Import DotNetNuke users using transactions with DNN classes

I'm developing a module in DNN 4.9 to import users. My problem is that I need transaction support but have to use DNN classes to import/create users. Out of the box the classes don't seem to support transactions. Anybody got experience with this or knows how to do that? I'm using the following object to create users: UserController.C...

Work with DirectoryEntry not on a Domain, set user password never expire

Hello i try to put the user password check to never expire. When i create the user, the check is always uncheck. I try many twist to execute that but noting work. There is my code. DirectoryEntry user = root.Children.Add(adUserName, "user"); // NOTE(cboivin): Documentation : http://msdn.microsoft.com/en-us/library/aa746340(VS...

Per-Site User Permissions in Django Admin

In the same way that Articles can have a relationship with Sites (OneToOne/ManyToMany), I'd like to be able to assign a User permission to work on a certain Site (or Sites). ...

MySQL Function to return table name to be used in a query

Can I use a MySQL function or procedure to return table names that can be used in a query? Something like SELECT * FROM get_db_table_name(2342352412); where get_db_table_name() is a user defined function which accepts a user_id as a parameter and returns the db.table where that user resides. I have not been able to do this this way be...

How to add a user to django-tagging

I'm looking for a way to add "user = models.ForeignKey(User, editable=False)" to django-tagging model with templatetags support but my django knowledge is too low to understand the code of django-tagging. ...

User Interface Specification..

I have Read this one http://stackoverflow.com/questions/398142/graphical-user-interface-specification-template.. can you guide me more in this context? ...

ASP.NET, how to manage users with different types of roles

Hi folks. I know, that this is probably going to be a very simple and frequently asked question. I have searched for solutions, but I am overwhelmned by the huge amount of documentation about memberships and roles. I'm very new to the asp.net and general concepts behind it, and my head is spinning after watching hours of video tutorials...