I've been using DotNetNuke for my company's main website. A separate vendor built a tool that we're using to sell our product. That vendor built it's application on Linux/Apache/MySQL/PHP. They use the standard forms authentication.
Is it possible to create a link on my dotnetnuke site that passes some user information (e-mail addres...
Hi.
I use the following to elevate the rights of a c++ windows application:
LogonUser()
LoadUserProfile()
ImpersonateLoggedOnUser()
The functions do their work and there is no error. But as soon as I want to interact with my application again (clicking on a menu like "File" "Edit", and even right clicking on the desktop) the applicati...
I want a permission that will prevent people from logging in. (So, all users of role X could be temporarily blocked, while keeping their profile pages available.)
Excerpt of the login process from Pro Drupal Development 2nd Edition:
POST from login form
User is blocked?
User is denied by access control?
I want to stop users at step ...
I need to check if a specific user already exists on the SQL Server, and if it doesn't, then I need to add it.
I have found the following code to actually add the user to the database, but I want to wrap this in an IF statement (somehow) to check if the user exists first.
CREATE LOGIN [myUsername] WITH PASSWORD=N'myPassword',
DEFAULT_...
How do i create an easy login script that does not require a database. I would like it to be safe.
Alright, what about this script, i just made it by my knowledges in php.
<?php
// startar sessionen
session_start();
// username and password
$anvandarID = "ditt_namn";
$losenord = "ditt_password";
if (isset($_POST["anvandarID"]) && i...
I am creating a login system for a web application using PHP. My question is, is it safe to only store the user login information in the current session? For example, if a user named John logs in successfully to my site, can I just store $_SESSION['Username'] = 'John' and $_SESSION['LoggedIn'] = 1 then check that $_SESSION['LoggedIn'] ...
I want to map users (that ssh to server) to emails. In csh you have defined $REMOTEHOST variable that contains PC name from remote host. In bash, no environment variable is defined. Is there any way to get some info about connected user (except from SSH_CLIENT which gives IP and PORT)
Note that I'm using sshd and bash.
...
In my Django site, I am planning on using message_set combined with some fancy UI to warn the user of things like "your operation was completed successfully" or "you have three new messages".
The problem arises when I try to warn an user that is trying to log in that the user/pass he provided are wrong - AnonymousUser, for obvious reason...
I want to keep a log with the attempted log-in to a machine. The OS is Windows Embbeded Standard. Is it possible to make Windows execute an application or a script after every login attempt to enable me to save that information in my database?
EDIT:
Extract from Superuser:
"Here, you can set auditing to all types of events. I believe ...
Let's picture a django powered service that bills its customers monthly. The owner doesn't want his customers to share the account with people that did not pay. Of course, he understand that some may want to work collaboratively on an account, and don't want to restrain the use of shared accounts to the same IP address.
How would you le...
What is the best thing to store in a cookie to keep a persistent logged-in state?
I have seen many websites (and beginner tutorials!) that simply store something like validUser=1 in a cookie. Clearly I could spoof that and the website would think I was a valid user.
If the username is stored in the cookie I could masquerade as any user...
When you log out of a web app, should ALL your session be logged out? When I log out of the web app from the public library, should it also log me out of the session I have on my home computer?
When you choose "remember me" or "stay signed in" when logging in (to extend your session beyond the time your browser is open), does this get c...
Im making a login/logout class that logs users in, sets cookies based on user's choice. The user enters their email/password and it checks the database, email/password combo exists a session is created, and a cookie is set (with the users id) and the user is redirected... I then have a function that logs users in by taking the user id sa...
What do large websites built in .NET use for their login components?
I will be implementing the login and membership features of a large .NET web application. As I see it, there are 4 options:
Leverage the default Microsoft Membership Provider
Build a custom Membership Provider
Use a different 3rd Party Component
Build an entirely cu...
I want to login to the ORKUT through a java program. I am using the following program to do it. I have copied it from some website. Now I want to use it for ORKUT. But I have some questions regarding some lines.
Q1. Where to give the URL of the login page (I think in the new HTTPGET("....."))? Am I right or not?
Q2. What argument to pa...
This question has problably been asked before, but it seems like I can't phrase my search correctly enough to find the answer.
Normally when you sign up to get access to a forum on the internet, an authorisation email is sent to you and you can click a link which leads you to a page which performs the authorisation.
What I want is to s...
I want to login to ORKUT through a java progrram without involving IE or Firefox,
I am using HTMLUnit for this in the following manner:
import com.gargoylesoftware.htmlunit.WebClient;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import com.gargoylesoftware.htmlunit.html.HtmlPasswordInput;
import com.gargoylesoftware.htmlunit.htm...
Dear all,
I'm researching about Single Sign On (SSO), using google,yahoo and openID account to login in my site.
Some professional can tell me which is method to implement it. API OR LIBRARY to work with it.
Thanks
Nguyen
...
I need to redirect the default CakePHP home page / or (/pages/home) to /users/dashboard page
I tried
Router::connect('/', array('controller' => 'users', 'action' => 'dashboard'));
and
Router::connect('/pages/home', array('controller' => 'users', 'action' => 'dashboard'));
But both are not working
...
The idea here is to have a python app, that when started, asks for a user/password combination. This user/password combination should be the same as the user/password of the remote linux server or in such case, and authentication system.
Is this possible? How? Which APIs can I use?
Thanks a lot.
...