Hello!
Facebook apps are allowed to have a tab that a user can add to his profile's tabs if he wants.
How can I get the uid or otherwise identify the currently logged in user in order to customize the layout for him please?
Thank you.
...
Any comments/improvements on this process?
User Table:
id, username, password, salt
Storing a New User
Receive the username (plaintext) from $_POST
Receive the password (sha512'd using javascript) http://pajhome.org.uk/crypt/md5/sha512.html from $_POST
Generate a 128 character salt (alphanumeric with symbols) on the server and store ...
how to get List Of User Defined Functions using OleDbSchemaGuid in c#?
...
Hi, I need a better way to prevent that normal users execute my python script. I'm doing something like that:
if __name__ == '__main__':
if os.getenv('USER') == 'root':
addUser = addUser()
else:
print 'Only root can run that!'
It's working, but it's pretty ugly!
My script is about user management in a Debian sy...
I am trying to create a user login/creation script in PHP and would like to know the best way to check if a username exists when creating a user. At the moment, I have the following code:
function createUser($uname,$pword) {
$server->connect(DB_HOST,DB_USER,DB_PASS,DB_NAME);
$this->users = $server->query("SELECT * FROM u...
I have a .NET app and I let users to create their account.
Right now the user page looks like http:///user/?user=guru
I have a user subfolder at the app root and that is where the aspx pages for user page are
How can I let my users access their pages like twitter, facebook or youtube?
Their user profile\channel\account has this forma...
How does one get the current user in a portable way? This seems like an FAQ but perlport doesn't speak about it, maybe because some odd systems don't have the concept of "user" to being with? However, let's stick to *nix and Windows.
getpwuid($>) is not implemented on Windows.
$ENV{USER} || $ENV{USERNAME} seems finicky.
http://search....
Hi Everyone,
I have a great concern in deploying the TinyMCE editor on a website. Looking at the code parsed by the editor it does a great job, and I leave the HTML button off the toolbar configuration so users can not inject their own source.
However, from what I read in the TinyMCE docs, it claims to degrade nicely to a regular texta...
In recent versions of PostgreSQL users are implemented as roles that can login. Is this common in an RBAC implementations, that a user is just another role with the ability to login (or similar)? Some of what I've read so far doesn't suggest that... but maybe I've misread or just not read the right thing.
...
Hello,
If I create a user in a group, like:
create role user_1 login inherit in role group_1;
later, with which query could I retrieve to which group(s) a user belongs to ?
Thanks !
...
Hello,
I would like to know if it is possible to have a trigger when a user is added to or drop from a group ? Does this trigger could also works when dierctly create a user in a group (create role ... in group ...) ?
(In fact, I want some users of a specified group to have a specific search_path, so I can set/reset the search_path in th...
Hello,
I'm trying to set up security for my application for users. I am not sure about my logic. Is the following possible:
I want to create 1 login for 'all users' in Active Directory. Then I want an admin (in the program self) to choose which user is in which server role (e.g. marketing, sales, ...). Then I want to give those roles p...
A colleague of mine was wondering why he couldn't just strip the hyphens from the uuid/guid before storing it. We couldn't work out what the hyphens were for...
What is the reasoning behind them? Surely they'd make it less random?
...
We have a web application and it uses System.Web.UI.Page.User.Identity to determine who the current user is. We are experiencing an intermittent problem, where a user is not recognized (their identity is blank or empty). Anonymous authentication is disabled so I don't see how they can fully access the web application without it recognizi...
I have an action script 2.0 request.
i have a flash movie with 7 check boxes. when the user has selcted a total of 4 check boxes the flash movie goes to another frame.
pretty simple
i'll contain all the checkboxes in a movie clip called mcCheckBox.
I just need to the code to make it go to a new frame once four check boxes have been...
Hello !
I'm currently creating an iPhone app and we need some testing with about 20~30 users.
Actually we put the app on our iPhone by connecting the iPhone to the computer and debugging the app.
But now we need to have a more efficient way to install the app on iPhone but without submitting it to Apple Store and also without the need...
Hi,
I have a custom routing class that checks versioning of an object to allow for creation of draft versions of pages that wont appear on the live site. When an admin clicks to preview a draft version of a page my PublishingHelper class on the front-end (called from the routing class) checks the user's permissions to see if they are al...
Hello I'd like to list all real users on Linux/*nix and it's data. I probably need to parse /etc/passwd and /etc/shadow and check if user have password.
The problem is that is not cross-platform (on *BSD there is no /etc/shadow). Is there any cross-platform library/command I can use?
...
I have 2 drupal databases, 1 current database and a backup. I'm now in the situation where I need to restore the backup. I'm looking for a way to import the new users in the current database into the backup.
How should I go about doing this?
...
Hello gents.
I'm working on a drupal site where I allow users to login while at the same time posting a content. I've successfully added email & password fields to the original form, but I'm stuck as to how I should actually log in the user. (My plan is to do it in the validation step, before the content is created, to make the logged i...