Is it possible to protect a folder with .htaccess by asking just a password?
I don't want a username.
HTTP auth will always ask for a username and password, and not just a password. The server doesn't generate the form that pops up, your browser does. And that form will always have a username and password. You can't tell it to only ask for a password.
But what you can do is generate an htpasswd file with a blank username so when the login window opens, people only need to enter a password and can leave the username field blank.
Related
In Linux, when a user password is expired, it throws the following message after login and asks to change password,
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for test.
(current) UNIX password:
Now, after expiration instead of changing the password this way using a Linux shell, I want to redirect it to a different menu using a password change script. How can I achieve this?
I currently have a password reset with the following flow:
generate a temporary password
email it to the user
The user then clicks on a link in the email, taking them to a page where they can enter their temporary password along with a new one.
My question is, how can I securely achieve a password reset without making the user have to copy a nasty temporary password?
I have considered sending the password as a query string in the link in the email since HTTPS traffic is encrytped, but I have read that this is still a poor choice due to various reasons.
Any suggestions are welcome, thanks!
(I have purposely left out information about my stack as I am looking for a technology agnostic solution)
I use the standard password change function from domino to change the password in an extended directory catalog.
So I open this link in a browser: http://serverurl/names_extended.nsf?ChangePassword
I type the old password and the new password twice, but the password is not changed in the person document.
Any ideas on this?
I am trying to determine if it is possible to write a command for command prompt that would open a website and then enter a username and password on a login prompt. For example, say you are on a network and want to be able to have a browser(i'm using chrome) browse to multiple addresses and then once at the site login with a username and password. Is there a way to tell command prompt to open a site and then tab 3 times and then enter text(like a username) and then tab(to get into password field) and then enter more text and then tell it to "hit enter" to login?
We don't always have access to the exact ips/urls for certain equipment. This is what I have come up with so far but it just will open a range of sites/ips, I can't figure out how to enter username and password automatically.
Example of command i've come up with - for /l %x in (15,1,25) do start http://192.168.1.%x
So this will open 192.168.1.15, 192.168.1.16, 192.168.1.17 ect all the way to 192.168.1.25 in different tabs in the default browser. But I want to have it enter a username and password afterwards if possible.
Thank you for reading!
Yes, it is possible in basic access authentication.
The following syntax can be used to provide username and password:
start http://username:password#website.com
The username is delimited by : from the password, and the credentials are delimited by # from the host (its domain or IP address).
See mod_auth_basic for configuring such authentication server-side on apache.
A client needs the browser to prompt to save the password for the login form. Here is the url
http://www.800promotion.com/userLoginPopup.htm
You can use the following credentials to login, Username: test1#gmail.com with the password: company. No matter what options I try the browser doesnt prompt me or anybody for the save password option.
Old one, but.. JJ, you can affect browser behaviour. Most likely user had ajax-login. Browser didn't reqonize login event.
for example there's some solutions:
How can I get browser to prompt to save password?