user

How to Setup Mercurial Security.. specifically the users.

I have mercurial setup by following these instructions. I'm trying to understand where or what file to setup the users in. Everything I've read seems kind of cryptic... it gives all these snippets of code saying use this but it seems to be leaving out steps of how it's all connected and what file to put the snippets of code in... can so...

Problem with pg_connect on localhost

I've a server with postgresql installed on the postgres user. When I do: su - postgres [entering the password] psql I can then execute queries on the database, that works fine. However, from my php script (running on my own account): $dbconnection = pg_connect("host=localhost port=5432 user=postgres password=XXXXXXX "); (password ...

User Control's Contents Not Created Or Even Parsed

I have an ASP.NET 4.0 application with some simple user controls. The user controls work fine on the design surface (VS.NET 2010), but when they're loaded during application execution, nothing shows up. Futhermore, the various child controls of the user controls are null when referenced inside the code behind for the user control. The ...

How to use User dictionary?

Hi, Currently, I'm writing a soft keyboard app and it is using built-in dictionary. I want to enable user to add words to dictionary and get them while composing the text. I've found User dictionary in Settings->Language & keyboard. How to manage this dictionary through app? I want to add, delete and get words from User dictionary. ...

Liferay -> Automatically deactivate new users at signup

Hi Is it possible to deactivate users by default in liferay when they sign up so that the administrator could approve/activate thier accounts later on. Thanks in advance ...

How to hide some text on TRAC wiki-page from anonymous user?

I have public TRAC installation, but i don't wont to show some links on wiki-pages (exceptionaly on the main) for non-logged(anonymous) uses. Can i hide some text for non-logged users, using WikiFormatting tricks ? ...

PostgreSQL, how can i restrict access to code in a function for a user?

I found out how to deny all access to tables for user in a schema. REVOKE ALL PRIVILEGES ON SCHEMA test FROM user; But what can i do to restrict access to all functions in a schema, so that user couldn't read the code? I was trying this: REVOKE ALL ON FUNCTION test.test_function(text) FROM user; Yes, it has restricted the ability ...

User defined function for SQLite on iPhone.

Hi everyone! I'm working on the n'th application locating zip's. Everything works fine in PHP while I worked along the docu on OpenGeoDB. Now, I'm trying the implementation on the iPhone-SDK, but SQLite doesn't have the ACOS, SIN etc funcs. Can anybody point me to an example of how to expand the SQLite with userfunctions in order to use...

asp.net user login question

In an asp.net webform app, I need to restrict the logged in user to show data only for their company. This is a primary key of my topmost table. How to I set that based off the user. I imagine I would have another table with some user ID mapped to company ID? ...

facebook user validation

Hi, I have an Iphone app. I am using facebook connect when for user authentication. I am sending score and fbuser Id to my web server. How can I validation this user valid or not? Thanks ...

How to configure phpMyAdmin for multiple users - each with access to their database only

I want to configure phpMyAdmin to be able to accept one of several different user account logins. Each user would be allocated a specific database and only have access to that. The default configuration with phpMyAdmin is one super user, e.g. root which has access to every database on the server. I need to be able to give people access...

Is there a client side event that occurs on a user control when its parent submits to the server?

Is there a client side event that occurs on a user control when its parent submits to the server? ...

cakephp registration form not verifying fields

My registration form is not checking all the fields and is calling login and saying that I registered successfully. Also, if both passwords are blank, it still "registers" heres my User model <?php class User extends AppModel { var $name = 'User'; var $validate = array( 'username' => array( 'rule' => 'notEm...

MySQL Users table separation (Ruby on Rails and Authlogic)

I was wondering if it would be better to have things like perishable_token (used for account validation and resetting of passwords), banned (boolean to check if the user is banned), email_verified (boolean to check if user's email has been verified) in a separate table in the database, as it will rarely ever be used. Also, I have my app...

Is this a good practice to disable a password creation by the user?

I am working on an intranet site and need to choose one way of two: 1. Disable an option when a user can change a password to any word he likes, for example, pass123. This way there will be a button to generate a new password using some complex algorithm and then user accepts its using. 2. Make standard password changing function. This w...

Get all Users on OS X

So I want to implement Parental Controls per user in my app, but I need a way of getting all Users and add them to an NSTableView. These users should be the same displayed by the Login Window, excluding the Other... one and system users. Any ideas on how to do this? Also, I want to be able to get the selection on that table view and of ...

Kohana 3 ORM Auth Module: how do i get a users role from the user object?

Hey all, I'm having some trouble wrapping my head around the user roles situation. i do understand the way they get created on inserting a new user, but i was wondering if there is a good way to get a users role into the user object, so that i can check for it in the controller. thanks :) t ...

User registration with invitation

I'm working on an application where users can register when they recieve an email invitation for the app. Right now what I do is generate invitation-codes that are sent to the users and stored in the database. The user then goes to the url given in the email which contain the invitation code, like this: http://myapp.com/user/register/5...

Granting user access

We're developing a web app using the Zend framework and Mysql. Currently, accounts are unique by email address. We want to be able to allow the admin of an account to grant access to the admin of another account. This person would then be a "user" of the linked account. The account holder would then log into their admin account and then...

Getting Snapshot Slows UI - Thread Needed?

I'm currently working on a WPF/C# application which is connected to an external camera. This application gets a snapshot from the camera, then does some analysis and displays it to the screen via a user interface. There are also many other UI elements on the interface (such as buttons, menus, and comboboxes). Right now, while the appl...