passwords

How would I require a password for all files except one using .htaccess?

若如初见. 提交于 2019-12-13 11:59:10
问题 I have a new website I'm working on that the client wants to keep a secret, but at the same time, I want to put an under construction page with some info on it. I would like to have everything except index.html require a user/password--index.html would be available to everyone. I have the following, but I'm not sure what I need to add: AuthName "Restricted Area" AuthType Basic AuthUserFile /path/to/file/.htpasswd AuthGroupFile /dev/null require valid-user There are too many files and possibly

C++ Error: 'no match for operator<…'

房东的猫 提交于 2019-12-13 11:18:32
问题 I have been attempting to create a password generator. The program is supposed to take input, and put out every possible combo of characters (brute force without the force). I am encountering this error: error: no match for 'operator<=' in 'i <= pear' I have no idea what to do. However, here is the code. Please let me know if I also messed up on anything else, but the error described is the main problem right now: #include <iostream> #include <string> using namespace std; void generate() {

SHA512 Encryption + salted

痴心易碎 提交于 2019-12-13 11:01:36
问题 I am working on a C# visual studio windows form application. However, i was stuck halfway during my development. I am trying to ask the user for his/her password before encrypting it with salted. How can i encrypted my password text with SHA 512 with salted and decrypted it later on? Is there any advise on how i can do it? Is SHA 512 secure enough as compare to other encryption methods? 回答1: No, SHA512 is not secure enough for password processing. SHA512 is fast, whereas password processing

Hashing password in register and login do not match [duplicate]

元气小坏坏 提交于 2019-12-13 10:39:17
问题 This question already has answers here : Hashing password using crypt does not work on the login it displays incorrect pass (2 answers) Closed 6 years ago . I've a register form that allow user to enter password and I hash this password using crypt In the register form it work and the password is hashed and secure in the database but when it come to the login the password do not match and the system do not log in Anyone can help me ??? hashing password in register.php //crypt password require

Why does this code hash null?

纵然是瞬间 提交于 2019-12-13 10:33:07
问题 The following code passes on the username check, but fails on the password. As you can see, the hashes are echoed, but for some reason, they output e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 , which is the sha256sum of /dev/null . As the password does not seem to echo at all, i can only assume it cannot get the POST, but why? login <form action="dologin" method="post"> Username: <input type="text" name="username"> Password: <input type="password" name="password"> <input

I STILL think hashing password on client side is better. Am I wrong?

耗尽温柔 提交于 2019-12-13 09:50:02
问题 I've read these: https://hackernoon.com/im-harvesting-credit-card-numbers-and-passwords-from-your-site-here-s-how-9a8cb347c5b5 https://security.stackexchange.com/questions/8596/https-security-should-password-be-hashed-server-side-or-client-side Is it worth hashing passwords on the client side Password encryption at client side https://softwareengineering.stackexchange.com/questions/76939/why-almost-no-webpages-hash-passwords-in-the-client-before-submitting-and-hashi ... and I STILL think that

can this code be shortened or improved? [closed]

烈酒焚心 提交于 2019-12-13 08:53:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Can this be shortened/improved? I'm trying to make a password checker in python. Could the if's be put into a for loop? And if so, how? pw = input("Enter password to test: ") caps = sum(1 for c in pw if c.isupper()) lower = sum(1 for c in pw if c.islower()) nums = sum(1 for c in pw if c.isnumeric()) scr = ['weak

How to ask for a password with unique complexities and exceptions in JOptionPane?

自古美人都是妖i 提交于 2019-12-13 08:34:36
问题 I have to use JOptionPane to get a name, social security number, username, and password. I have the name and social security but I need the other two. The password is really confusing me. It says: Password should be at least 8 characters in length. They are case sensitive. Our complexity test is that a password should contain at least one number/digit, one capital letter other than the first letter (if the only capital letter is the first letter, that doesn’t pass the complexity test), one

Where does Firefox store saved passwords?

左心房为你撑大大i 提交于 2019-12-13 06:12:34
问题 I'm going to create a plugin to a face recognition system for Firefox's saved passwords as my final year project, but yet i haven't any idea about how saved passwords are implemented in Firefox. if anybody know about that, Please help me. Where does Firefox store saved passwords? How does it choose appropriate password when entering username? 回答1: You can find your saved passwords by going to: Firefox --> Options --> Security and click Saved Passwords. Your passwords are ordered by site. You

Is there an Android sharedpreferences equivalent in iOS to save credentials (Username and Password)?

早过忘川 提交于 2019-12-13 06:03:32
问题 Coming from Android development I use SharedPreferences to store username and password to login to a server using OutputStreamWriter and HttpURLConnection . Now in iOS I am using NSMutableURLRequest to send the username and password. Is there anything in iOS to store the username and password like SharedPreferences in iOS ? Take in mind that this is sensitive data so it needs to be secure. 回答1: Yes, there is. Usernames and Passwords should be saved using Apples Keychain.Keychain is encrypted