I have a PHP authentication system on my website using the $_SESSION variable.
A form submits a username and password to the file "login.php". It is handled like this:
<?php include '../includes/sessionstart.inc.php'; ?>
<?php ob_start(); ?>
if($_POST){
$q = mysql_query("SELECT id, company FROM users WHERE username = '".mysql_real...
Hi all.
I'm facing an extrange behavior in my Sharepoint 2077 farm:
We have configured windows integrated authentication with NTLM, and all clients authenticates correctly to the portal.
When they proceeds to "login as" diferent user, it seems to be all fine (appears user name in top of page) , but internally the page user is the old us...
I have a connection made with a user name say ABC. In a method I create a new instance of sqlconnection named connection1 using the same connectionstring as that of the previous connection. When connection1.open() is issued it gives an exception stating that Login has failed for the user ABC. When SQL is able to connect to the user ABC f...
This is weird: if i login to my application, ask firefox to save the username/password. Then log out and go back to the login screen, firefox fills in the password inside the username input field, thus rendering it visible!
Any idea what could cause the problem? Here is the html of my form, although i've checked it 10 zillion times.
<f...
If you use SQL Server Authentication (2005), are the login details sent in clear text over the wire?
...
We would like to make JMX calls to other deployed applications within Websphere Application Server. This works fine if you do this within a web application where a user does a login with the right credentials. However if you try to make JMX calls, say, from a timer triggered part of the application that has no connection to any logged in...
this questions is linked with my other question log in with browser and then ruby/mechanize takes it over?
I am not able (hopefully I will in near future :-) to log into one website using ruby/mechanize so I was thinking if there is any workaround for the log in part. After that I want my script to take over and do its job.
Could some...
How can I create a login partial view in MVC 2.0?
I want to include this in several masterpages in my site since I can't use the login control in MVC.
What code do I put in the controller which will accept the username and password?
...
Are there any PHP login scripts around that I can learn from?
I want to have a control panel that shows different options to different users depending on level of privilege.
...
I've seen many threads on SO and they suggest that password can't be securely transferred without SSL. So suppose I've https login page but
Should I switch back to http after user has been authenticated over https (assuming no sensitive information is sent over after login)? Because it might load page a bit faster?
Would it create ext...
Hi All,
I'm having troubles logging into Magento's admin panel on one of our staging sites (it works 100% on our webdev servers and was working just fine not too long ago on the staging server as well).
I've done some research, and most people suggest that it's got to do with running Magento on a localhost and browsers not saving cooki...
I have been simply writing 2 cookies, 1 containing the user ID, and the 2nd containing 1/2 the SH1 hash of the password (salted). The way it works is self-evident.
I realized that I wasnt doing this in the most secure way. Whats a better way of doing this? Preferably using a single authentication cookie.
Also, is there a point to usin...
I've been learning how to make gadget and the simple gadgets all make sense.
How would I make a Gadget that logs into a website and retrieve details for that user (so it's pretty much simulating the user logging in and showing basic information ??
(eg. like the facebook gadget that shows any messages, "pokes" . etc. etc. ....
...
In our system one client may have multiple operators. However there is a "wish" from client.
One company has an account, however there can be mulitple operators assigned to this company. Client wants us to prepare a solution that only one operator from company can log in to the system at same time. How can I achieve this?
...
I am trying to set up a Wordpress site that requires users to login. The usernames are going to be pre-populated into the db, with 1 default password for all. Once they enter the default password, they need to be taken to another login screen that will act as a registration page for them. They cannot change their username, but are req...
I would need to make a simple program that logs with given credentials to certain website and then navigate to some element (link).
It is even possible (I mean this Authlogin thing)?
EDIT: SORRY - I am on my company machine and I cannot click on "Vote" or "Add comment" - the page says "Done, but with errors on page" (IE..). I do appreci...
The site is currently written in PHP. I want to add a new component by doing it in Ruby on Rail and then installing Rails in a sub-folder.
If a user logs in the PHP portion of the website, can I customize the content for him/her in the Rails section without requiring a second login?
I'm relatively new to Ruby on Rails so that's why I'm...
Hi, I am trying to programmatically login into a website ("http://www.smscountry.com") using C#, but the program hangs at the second GetResponse() request, where I try to login by POST method and filling the form fields.
public String GetWebContent(String username, String password)
{
//The URL of the Login Form ...
I think it should be a windows service. when given certain conditions it should perform a login into the machine.
The machine will be in the "login screen" checking a webservice to know who is the user and password it should use to login.
Can this be done?, I don't want "automatic login" windows feature.
Thanks!
...
I have a Drupal site that is available at two different hostnames, one of which is only served using SSL. For example, http:// www.example.com is for viewing content and https:// manage.example.com is used by content contributors.
I would like to configure Drupal to not show content through the https:// manage.example.com address unles...