username

Distinguishing User Profile Pages from Content Pages

I'm managing the implementation of Single Sign-On functionality into a suite of websites and want to create the best possible solution for our users. I would prefer that each user get a Profile Page that has the URL format: http://website/<username> But I also need to deliver content from that location, for example: http://web...

Is there a reasonably safe way of authenticate a homepage using javascript?

Hey! I am very new at javascripting and I would like to know if there is any way of authenticating a homepage using javascript? I do know a couple of ways but they are extremly easy to "hack" because the username and passwords are stored in the script itself - as arrays. Do you guys know any good ways of authenticating just a single su...

mysql phpmyadmin user password for database

i am using phpmyadmin; i created a database; now i want to locate the username and password for this new database i created. note, i am not sys admin, i am only the developer, but i do have access to create db on mysql in phpmyadmin. does my sys admin needs to tell me the username and password to access this db, or i can telnet and get i...

obtain the current username using WMI

I am using Win32_NetworkLoginProfile or Win32_Account to get a list of the users for a system. Call to these objects return a lot of users, some local and some belonging to a domain (if the system is part of a domain). Is there a way to obtain the current user name using WMI? If yes, how? furthermore, using Win32_Account I can check wh...

Username of a process

Hello, How do I get the usernames of all the processes running in task manager using c#? Thanks ...

git-svn pushing existing repository mapping usernames the other way

Hey all, My team and I are currently working on a university project. We were given the project but it hadn't officially started, so we began work in GIT to get a head start. The coordinator of the project has now forced us to use SVN so I am attempting to use git-svn to interface the two repositories. I can move our commits into the s...

Best practice to handle / sanitize usernames (accents, punctuation, ...) ?

Hi guys, What would you recommend as best practice to handle or sanitize usernames ? In France, Spain, Greece, ... to even limit to latin alphabet, you'll get periods, dashes, apostrophes, .... What we're doing is getting info from Facebook api. We get the username if the user have set it, otherwise we take the name and transform it t...

Regex for username that allows numbers, letters and spaces

Hi, I'm looking for some regex code that I can use to check for a valid username. I would like for the username to have letters (both upper case and lower case), numbers, spaces, underscores, dashes and dots, but the username must start and end with either a letter or number. Ideally, it should also not allow for any of the special cha...

How to remove the username from Drupal

Im building an online community with Drupal Ive got the logintobbogan module installed which allows the user to login with username or email address I dont want users to have to select a username, is there any way I can remove this option, or have it automically chosen/hidden I will add fields for Firstname and Surname to the profile ...

Should Unicode be allowed in usernames?

Why do most (all?) websites only support usernames in ASCII? Are there any security considerations if an admin decides to start accepting Unicode usernames? ...

spring 3 security schema username as primary key?

I Googled for this, but I couldn't find an answer anywhere. Why does the Spring 3 Security schema (http://static.springsource.org/spring-security/site/docs/3.1.x/reference/appendix-schema.html) have a username as a primary key instead of an integer guid? People often suggest that using "natural" usernames as your pk is bad practice. ...

PHP/MySQL Secure Login & Sessions

I have a login service to my current website and what I was wondering is - is there any particular method you could call the MOST Secure? Allow me to explain my system a little better: I currently have a PHP MySQL database with a users table. The username and password are both stored as VARCHAR (not the best for passwords I know). On ...

Does the Twitter API allow filtering by username AND hashtag?

Can I get all the tweets of a particular user, in which a particular hashtag is used? I could just get the past 100 tweets then filter them on my end, but it would be much more convenient if Twitter could do the filtering on their end. Is this possible? ...

Google's username policies vs Facebook, Twitter and others...

I have a question I've been trying to understand for awhile now. Google has terrible username policies for accounts and services. You are unable to change your username, recover a deleted account or link usernames to various accounts. It's not possible to do anything. These issues have comes up numerous times with accounts that I manage ...

online payment system for username/pass

Where should I start looking for a online payment system where once a user pays their account is given full access to the game? Basically exactly like the payment system in minecraft.net . I post in r/programming, because I don't know if I should be using sql database or what. I don't even have the username/password system set up. ...

When you auto-create subdomains on user signup does it create a new website or gives appearance of a website?

Hi, I am wondering if subdomains that are created upon signup become websites or do they just give the illusion that they are websites sort of like example.com/username? I am trying to create something like user.domain.com and can't really find something helpful to do it? Is there a way I do it so that i can allow customizations for ...

phpBB Welcome, "Username"!

I have a site with a phpBB forum and I have a separate login through a different page. I want it so when a user logs in, it will display a "Welcome, 'Username'!" message and when they are not logged in it says, "Welcome, Guest!". I just can't find the syntax to get the username. I don't really have any code so far that has gotten anywhe...

How to set up your username in Git if it contains special characters?

Hey there. I'm using Git for windows (The msysgit project). And working with the GIT Bash. I'm also pushing my programmed stuff to gitHub. The problem is that my gitHub's user name contains a "č" character and the GIT Bash won't let me type that in. Is there a way of setting my --global user.name within my GIT settings to contain that "č...

Cross platform solution for getting current login name in Python

I'm looking for a cross platform solution for getting current login/username in Python. I was surprised that os.getlogin() is only supported under Unix and even there is not necessarly returning what you would expect. ...

Get username from SecurityIdentifier

I am using Windows Authentication on a website where users create reports that are stored in a database. When I save a report, I want to know which user filled it out, so I have been storing the SecurityIdentifier of their WindowsIdentity in the database to identify which user filled out the report. Here is the code I use to get the Secu...