passwords

Excel password removal

陌路散爱 提交于 2020-03-03 10:32:06
问题 We receive Excel workbook files every day which are password protected with the same password. We know this password. Is there a utility or method to remove password protection on these workbook files without invoking Excel.exe or the Excel object. Our goal is to take Excel out of the process and utilize SpreadsheetGear in VB.net. However, SpreadsheetGear can only unprotect worksheets not workbooks. Thanks 回答1: Are they XLS or XLSX files? for XLSX apparently you can use the RMS SDK to work

Passwords and different types of encryption

孤者浪人 提交于 2020-03-03 01:08:46
问题 I know, I know, similar questions have been asked millions and billions of times already, but since most of them got a different flavor, I got one of my own. Currently I'm working on a website that is meant to be launched all across my country, therefore, needs some kind of protection for user system. I've been lately reading alot about password encryption, hashing, salting.. you name it, but after reading that much of articles, I get confused. One says that plain SHA512 encryption is enough

Passwords and different types of encryption

天涯浪子 提交于 2020-03-03 01:08:05
问题 I know, I know, similar questions have been asked millions and billions of times already, but since most of them got a different flavor, I got one of my own. Currently I'm working on a website that is meant to be launched all across my country, therefore, needs some kind of protection for user system. I've been lately reading alot about password encryption, hashing, salting.. you name it, but after reading that much of articles, I get confused. One says that plain SHA512 encryption is enough

Check SQL database if value exists and then return value if it does

家住魔仙堡 提交于 2020-02-20 09:22:08
问题 I am pretty new to both php and SQL. I have a login page where I ask for the users username and password. I would like to search a database I have created for both the username and password to see if they exist. The database table has two columns, Username and Password. I don't care to much about security so a simple script will work. But I do want to be able to expand on it someday, so therefor I am using a database, because currently I just use an array in php to store usernames and

Is It okay to save user's salt in the same table as password hash?

安稳与你 提交于 2020-02-18 21:00:32
问题 Is it okay and isn't useless? It could be saved in another table or even another database. What do you think? P.S. For higher security, I have the constant salt "peanuts" too. It's constant value saved in configuration file (not in database). So if hacker want to somehow hack password, he need access to file server and database as well. 回答1: Yes, it's okay to store the per-user salt in the same table which stores the password hash ( not the password itself ) - even if the adversary gets

Holding password in javascript variable - security implications?

冷暖自知 提交于 2020-02-13 07:28:59
问题 Does holding a user's password in a javascript variable in the browser expose any specific security vulnerabilities, over and above the usual security vulnerabilities of a browser-based client? Consider this snippet as a simple example - jsfiddle here <label for="password">Password</label> <input type="password" id="password"/><br/><br/> <button type="button" id="pwdButton">Store password in window.password</button> <script> function getContentsOfPasswordField() { return jQuery("input

In IE, how can displaying the browser's list of saved usernames/passwords and save username/password dialog be controlled using javascript?

风格不统一 提交于 2020-02-07 05:29:05
问题 In my web-application, there are two pages that deal with the user's account, the user account create/edit page and the login page. These pages do pretty much as expected, except I want to: Prevent the browser's usernames/password list (aka, list) from being displayed on the user account create/edit page, Conditionally display the list on the login page, Conditionally display the browser's save username/password dialog (aka, save-dialog) after submitting the user account create/edit page, and

md5 hash login with php and mysql

扶醉桌前 提交于 2020-02-07 04:49:08
问题 I was given an excel file with about 450 username and passwords (the passwords are encoded with MD5 hash) How can I put this excel (.xls) file into my MySQL database and on the website (php side) how can I check if the user entered password is the correct password (I know nothing about hashing a password with MD5 or any hash-sequence for that matter) 回答1: 1.- You can export an excel file as a CSV file. 2.- Use phpmyadmin to import to your site a CSV file. 3.- Checking passwords: if (md5($

Need a password prompt for GITOLITE [closed]

不想你离开。 提交于 2020-02-02 16:13:32
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . We would like to use gitolite after reading the documentation for the better access management. We need a special requirement of where users should get prompted for password. I dont know if it is feasible but we

How to upgrade from MySQL old passwords to new Password system

混江龙づ霸主 提交于 2020-01-30 03:32:50
问题 I have a lot of users (privilages) in mysql server 5.0 . I want to transfer all of them into new MySQL server 5.5 . But the passwords are in old format (in `mysql`.`user` table). So I want to convert all old passwords to new format. Is there any way to transfer and upgrading the MySQL passwords without changing them? 回答1: Assuming you know the password you can set password = password('samepasswordasbefore'); after old_passwords has been set to off for the server or the session. set old