login

WordPress - can´t login with the admin account after restoring MySQL DB

I've got a Wordpress blog hosted on Linode under Cherokee web server, but the performance has been problematic the last weeks and I'd like to give a chance to Nginx. So I've made a DB backup of the current site, setup a LEMP platform, installed wordpress, and the "new" wordpress, with no articles (yet) on it works as expected. But when...

ASP.NET Automation Issues

I'm trying to use a command-line client to automate some work on an ASP.NET based website and have run into an issue with authentication that I've never seen before and am wondering if anyone else has. When I pull out my browser inspection tools I notice "login.x" and a "login.y" values posted that are integer values and change every ti...

How to make only the login.aspx webform use HTTPS\SSL instead of the whole web app?

I would like the login form of my .net web forms app to use HTTPS but want the rest of the site to use HTTP only. What is the preferred method of doing this? The is .net 4.0 on IIS 7 (Win2k08 R2) I realize I can set up a new site listening on 443, but Session state would be lost between the sites. I don't want to track session using SQL...

Page Expire in Asp.Net

My site has a master page, that part of it is a login section. Some of the content pages can be viewed by all visitors, including guests, while others are subject to security level. After logging out, I want to prevent the user from pressing the back button on the browser. If possible, showing a Page Expired form. ...

make a simple login page

hey all.. i want to make a simple login page. I have prepared two textfield. <input type="text" id="user"> <input type="password" id="password"> <input type="button" id="go"> i want after click #go script can check: if #user value != "admin" then #password value != "qaubuntu" will show and JS alert. but if data same, will show som...

How to invalidate a C# WCF session if login is incorrect

I am writing a remote service for an application using WCF, in which login information is kept in a database. The service requires session establishment through a login or account creation call. There is no ASP involved. Now, when a client starts a session by calling an exposed IsInitiating method, I check the account data provided agai...

ACL and AllowedActions Issue with CakePHP 1.3

Originally, I would run terminal commands to generate my ACL table data. However, this became tedious so I now use the below code to automatically generate my ACOS, AROS, and AROS_ACOS tables: http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs I also created these two functions to help populate those tables: function...

Django: Login from page outside django

Maybe it's a stupid question, but I'm trying to login to my django app using a form that is outside django. My guess is that I could send a POST request to /login, but that would fail because of the csrf token. Maybe I'm missing some kind of theoretical background, but I would like to know what's the correct way to achieve this. Backgr...

Increase number of login attempts per user or per role in Drupal

Is it possible to increase number of login attempts before blocking an account for a certain user or role in Drupal? (not for all users) Or even never block a certain user regardless of number of login failures? Thanks. ...

Capture ASP.NET Session Timeout in a GeneXus Application

I need to capture an ASP.NET Session Tiemout in a GeneXus X application generated in C#. When a user stay away from keyboard more than N minutes, I would like to request User/password once again without loosing data's changes in webform ...

What's wrong with this PHP code to send POST data via a stream?

I'm trying to use a PHP script to login to another web site (a Moodle install, in this case) by POSTING to the login page. This code seems to partially work. The problem is that only the first parameter is recognized by the receiving end. For the code shown below, only the 'username' parameter is recognized. However, if you switch ...

Logging in to HTTPS from HTTP?

As part of a master page template, several sites include a login control. Since the site is served over HTTP, I want the login control, once a successful login has been achieved, to resolve to a portal served over HTTPS. The closest I've seen to achieve this may be here, but I'm not entirely clear on its implementation. Can I get some...

Advantages/disadvantages to user registration and login methods

Take the following three user registration/login methods (or add your own): with OpenID with Email Address + Password (not OpenID) with Username + Password What are the advantages and disadvantages to each for a general internet audience (i.e., not a super tech-savvy audience of Stack Overflow)? ...

cakephp user/login redirects to users/login automatically

I have a model called "user" and a controller for "user" with an action "login". The controller is empty right now as I'm simply testing the page, however, going to www.mysite.com/user/login redirects me automatically to www.mysite.com/user*s*/login and then says that the users controller does not exist. I know it doesn't exist but I'...

how to create a login module

i have to create a login module (The question is not language specific) but i am not sure how will i validate the user. Where and how will i store the passwords. Will i have to encrypt and decrypt my passwords and if yes what are the best suggested way to do them. Overall i need to know what all things i need to take care of for developi...

HTML/CSS/JS: How to force browser to save password from a non-'password' type input?

Hi, The thing is that I have two values which are similar to a username and password, but are actually 2 randomly generated GUID's that users use to login to a website I made - they are not really a username and password, but with the GUIDs I try to replicate this combination. Usually browsers ask you if you want to save the provided l...

php login: issue with header

I'm trying to make a login page using php, but when I use header() to redirect to another page, my user/pass check on my database somehow fails. Am I doing something wrong? Also, I know I'm missing security guards, I'm implementing in steps since I'm still rather new to PHP. But some tips and suggestions would be appreciated! $dbc = my...

How can I do login with google adsense in an iphone app?

How can I do login with google adsense in an iphone app? Someone can show me the code? or tell me something about? Thanks ...

How can I access the captcha image that was generated when the page was loaded?

On some websites, when you want to login, you need to enter a captcha as well. If I want to provide support for an user to enter a captcha into my application ( which will then log into the website ), how would I do this? My problem is that the link to the captcha image is like this: example.com/captcha , and it serves a different image...

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...