passwords

Open password protected ZIP in Android?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 12:32:46
is there an library or a simple way how to open a password protected ZIP archive in Android? I know there are different types of ZIP encryption. I would like to open the most simple one, create in Unix with the zip -e command. The same file can be opened in Windows (which will ask for password). That should be the standard ZIP 2.0 encryption? How can I open it? I search for all alternatives but I didn't find any final solution. Daniel Novak I found a .jar library that works on Android and can decompress and decrypt ZIP 2.0 files. http://www.lingala.net/zip4j/download.php It worked for me

Password Module for Expression Engine?

不想你离开。 提交于 2019-12-01 12:32:45
问题 Just wondering if someone could help me approach a clients request. Is there any modules for expression engine for password protected pages? I need to set up a form for the user to fill out and choose a password and username, this would then give them access to a separate section/page on the site? How could I approach this with EE? 回答1: There are several ways to password-protect pages in an ExpressionEngine site: Template Preferences Manager Conditional Global Variables Third-Party Add-Ons By

how can i mask input by using batch file without extra file

拥有回忆 提交于 2019-12-01 12:29:37
i want batch file to mask the input with * without extra file For example http://pastebin.com/2c4EtG4g this code is working successfully but it is very slow when i write the letter can any one give my code is fast and without an extra file ? or edit the code in the link to be fast ?? Does this meet your "no extra file" criterion? It's a batch file that creates and deletes a tool to get the input, and so it is completely portable, and works in 64 bit machines too. Herbert Kleebauer wrote the utility and source code can be found on Usenet. It requires Vista and later I think. Newsgroups: alt

How to mask password in c?

ぐ巨炮叔叔 提交于 2019-12-01 12:24:05
In C, I want to display every single character that the user type as * (Ex, Please type in your password: *****) I'm searching around but can't be able to find a solution for this. I'm working on Ubuntu. Does anybody know a good way? See my code. it works on my FC9 x86_64 system: #include <stdio.h> #include <string.h> #include <unistd.h> #include <termios.h> int main(int argc, char **argv) { char passwd[16]; char *in = passwd; struct termios tty_orig; char c; tcgetattr( STDIN_FILENO, &tty_orig ); struct termios tty_work = tty_orig; puts("Please input password:"); tty_work.c_lflag &= ~( ECHO |

Is there a way to hide all database info such as password, username, etc?

我只是一个虾纸丫 提交于 2019-12-01 12:14:47
问题 I'm creating several php scripts. Must I always insert the host, username, password, etc. for every script for the same database and table? Is there a way to make reference with only one line or some other way? Is there anyway to hide this info? $host="XXXXXXXXX"; $username="XXXXX"; $password="XXXXX"; $db_name="XXXXXX"; $tbl_name="XXXXX"; mysql_connect("$host", "$username", "$password") or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); 回答1: While PHP files are

Joomla 3.4 password generation method

杀马特。学长 韩版系。学妹 提交于 2019-12-01 10:34:46
问题 I can't find out how Joomla encrypted passwords. My problem is that i want to make the exact method as Jommla does in a simple php page with a form and without any OOP method. So this is my input as a password: test and this is my output as an ancrypted password in Joomla database: $2y$10$XXrVok3/3Otqg6FmqFzUmObA.rLpLt.BswwSJ7d.iCPoGSJtcqSvm I found out that it is maybe in connection with the BLOWFISH encrytion, but it needs something else (for example: generated salt or a token in the

Refresh a connection in Excel to SQL Server (with password) using VBA

你。 提交于 2019-12-01 10:20:32
问题 I have 10 Excel files that are connected to a SQL Server by OLEDB and I need to refresh them everyday one by one manually. When I refresh them I need to insert a password. I tried to make a macro to automate this process, but I didn't succeed. I did this function to automate one of my workbooks: Sub updateABC() Workbooks("Teste").Connections("SQL Server_Azure1").OLEDBConnection.Refresh End Sub And the Excel ask for the password to SQL Server logon. Is there any way to put this password

How to encrypt/decrypt a file in Java?

别来无恙 提交于 2019-12-01 10:09:43
问题 I am writing a Java application which can "encrypt" and consequently "decrypt" whatever binary file. I am just a beginner in the "cryptography" area so I would like to write a very simple application for the beginning. For reading the original file, I would probably use the java.io.FileInputStream class to get the "array of bytes" byte originalBytes[] of the file. Then I would probably use some very simple cipher, for example " shift up every byte by 1 " and then I would get the "encrypted"

Is there a way to password protect HTML pages without using a server side language?

故事扮演 提交于 2019-12-01 09:59:11
问题 I have a series of interlinked web pages, and I want to restrict access to these pages by asking the user to provide a login and password. However, my hosting account currently does not provide any facility for server side scripting - is there any way I can accomplish this objective using only client side scripts? I was wondering how the following program works - http://www.myzips.com/software/HTML-Password.phtml Clarification: Thanks for your inputs. However, if I am configuring the web

Unix SSH without password

半城伤御伤魂 提交于 2019-12-01 09:58:46
问题 Hey all I'm completely new to Unix and I need to write up a "shell script" (?) to connect to another terminal and run a few SQL queries. How on earth do I do this? I've been browsing a few answers from this and other boards and if I have found my answer I don't understand it. I am able to manually connect, enter password, etc, but I need to automate the process. I don't have access to Perl (as a few answers have suggested) and I am unable to edit the etc/shadow file. So I assume this has to