user

Login/Registration System with php and mysql

I would like to make a simple user login/registration system using php and mysql. I don't need to get any information beyond what is necessary for the user to log in and out. I want to make sure that the system is secure. The way that I currently understand how it should work is: Registration User enters their email address and passwo...

Pass Password to runas from Python

I need to run a file as another user without it prompting for a password, from my script. How is this done? ...

linux: dual mice - multiple mice with multiple mouse pointers?

is it possible to use more then one mouse in Linux so that there's two pointers controlled by two mice? or can i get raw data like x,y from a second mouse even if there's no pointer? ...

weblogic user authentication in java

in one web application, user will enter login and password. User is created in WebLogic server 10.3 I need to authenticat user in weblogic server. I was searching on google, i found there is some sample code on http://dev.bea.com/code for authentication through JAAS. I tried to access that web page but it seems page has been removed. ...

Is it worth using the ASP.Net built in profile system?

I just discovered ASP.net uses its own profile system to register users and there seems to be a lot of features available as bonus with it (such as secure authentication). However it seems rather specific to have such a feature for a general purpose development environment and things which work in the background the way the profiles syst...

How to check user entrance and exit URL

Hi, I've looked at a couple different analytics programs (like Google Analytics) that will tell me what URL my users have entered my site from, and which URL they are going to when they exit. It certainly must be possible to gather this data somehow, I just can't find any code examples of how to do it. I would imagine that it involves...

Checking for Administrator user login in non-English installations of windows

Hi! I have some small questions...I have a program that stores a list of users in a database and compares on program startup if the user is in the list or is an administrator before letting them use it. At the moment, the way I'm using to check if the user is an administrator is simply by comparing the username to a string constant calle...

Get the user id of the user you are viewing (as admin)

I'm logged in as admin, and go to view a user's account page. How can I get the id of the user I'm viewing, rather than the $user->uid (which would be the admin user id)? ...

Correct way to find out if a service is running as the SYSTEM user

Hi All. What is the correct way to find out if a process is running as the SYSTEM user. I'm looking for a win32 C API to check for the system user. We used to check if the username was "SYSTEM", but since Windows Server 2008 R2 the SYSTEM user appears to be localised. I.e SYSTEEM on a Dutch system. I cant find much information about...

Installing git to be used in a multi-user system

I need to install git on a Ubuntu server that will be shared and accessed by multiple users. I assume I will use git+ssh, so each user will have a system account, but how do I go about installing git and a repository so that each user can push/pull over a local IP? ...

Changing base template based on request.user in Django

I want to modify part of my base navigation menu based on a flag on the user model, without having to include request.user in every single view function in my codebase. The nav menu is part of the base template which every other template extends. Is there a simple way to do this (if so, I suck at search)? If not, is there a standard w...

How can give the menu permission to perticular user in Joomla?

I create some backend menu in joomla administrator like (Manager, admin, Super admin, agent). First three are inbuilt and agent is custom. I want to give some particular menu permission to agent. so please tell me in database which tables having menu permission to particular user. so i can set the permission. Provide me tables name in Jo...

how should I render views when users habtm roles. cake

ok here is my issue... user habtm groups(roles) i have views for admins, boardmembers, managers, and vps. so when an user have just one role the app reads the role and we're going fine... BUT when he/she/it have two or more roles it just take the first one and dissmiss the others... the questions how should i manage those role so...

Google App Engine logout url

I am having problems getting the logout link work in GAE (Python). This is the page I am looking at. In my template, I create a link <p><a href="\users.create_logout_url("/")\">Logout</a></p> But when I click on it I get "broken link" message from Chrome. The url for the link looks like this: http://localhost:8085/users.create_logo...

Return list of current Facebook user's friends PHP

I am working on a Facebook app that will allows users to vote on their favorite pictures, based on their friend's profiles pictures. I know how to display the images, just not how to get the list of the current user's friend's IDs. My application is written in PHP. This is the last thing I need to complete the app. Any help would be grea...