I don’t know about you, but I use a lot of passwords. Mostly because it’s a good idea to use a different password for each login, and I login in somewhere a lot. Keeping track of them gets to be quite a chore.
password
All posts tagged password
Apple on Tuesday ordered its support staff to immediately stop processing AppleID password changes requested over the phone, following the identity hacking of Wired Reporter Mat Honan over the weekend, according to Apple employees.
If you haven’t read my colleague Mat Honan’s eye-opening account of his “epic hacking” over the past weekend, you should. If you have, you have a pretty clear idea of how the trust we put in could service providers can be cracked, and then subverted to amazing effect.
In Mat’s case, passwords were clearly the …
Author: Neosoft Support
Posted: Mon Jul 02, 2012 10:37 am (GMT -7)
Topic Replies: 1
You can do this with NeoBook’s ShutDown action. From the help file:
ShutDown: These actions will execute just before your publication closes. The ShutDown Action often is used to save any publication settings or information entered by readers that you want to retain for future use. Optionally, you can abort the shutdown by changing the value of the global [ShutdownStatus] variable. For example:
MessageBox "MyPub" "Want to quit?" "Yes|No" "[Result]"
If "[Result]" "=" "2"
SetVar "[ShutdownStatus]" "Don?t do it!"
EndIf
In addition to [ShutdownStatus], you can also examine the global [ShutdownSource] variable to determine what triggered the publication to close. [ShutdownSource] may contain one of the following:
NeoBook
The shutdown request was triggered by NeoBook’s Exit action.
Windows
The shutdown request originated with Windows. There are several Windows functions that could trigger a shutdown request, including: selecting "Turn off computer" from the Start Menu; the Task Manager’s End Task command; or manually closing the application’s icon from the System Tray. You should not normally refuse to close the publication when the requested to by Windows.
CloseButton
The user clicked on the publication window’s close button, selected close from the system menu, or pressed Alt+F4.
For example, to minimize the publication instead of closing it when the source of the shutdown is the close button, do the following:
If "[ShutdownSource]" "=" "CloseButton"
SetVar "[ShutdownStatus]" "False"
SetVar "[WindowState]" "Minimized"
EndIf
Note: It?s certainly possible with this feature to create a publication that cannot be closed, so use it with caution. The words surrounded by square brackets are variables.
_________________
NeoSoft Support
Author: gusgusl
Subject: Como usar funcion de Password en mi aplicacion al salir
Posted: Mon Jul 02, 2012 8:11 am (GMT -7)
Topic Replies: 0
Neobook trae una funcion de poder ponerle contraseña para salir o entrar a la aplicacion,ahora bien,se la quiero poner a mi aplicacion para que no la cierren sin mi permiso.
Existe alguna manera de que mi software si la pueda cerrar pasandole la contraseña a esa ventana que se abre .
Lo que quiero es que si alguien quiere cerrar mi aplicacion le pida la contraseña ,pero si yo lo hago desde dentro del programa que me deje cerrarlo normalmente.
As software developers, one of our most important responsibilities is the protection of our users’ personal information.
Author: dpayer
Subject: JScript function: XOR encryption of string with a password
Posted: Fri Mar 09, 2012 1:54 pm (GMT -7)
Topic Replies: 1
The JScript function posted below is adapted from this script:
http://javascriptsource.com/passwords/xor-encryption4.html
It is a lightweight encryption process for an ascii string that lets you set a password for the encryption. You can use the encrypted string to transport valuable information over insecure paths and then decrypt it with the password when desired.

This is for strings less than 500 bytes. More than enough for passwords but not quite robust enough for full documents. Feel free to remove the popup box at the bottom indicating it is either encrypting or decrypting. There are a couple other popups when password length or no content is entered. You can remove them if you want no alert displays.
The function both encrypts and decrypts. When you call it, you will be requested to give 4 variables:
[%1] name of variable containing the string to be encrypted/decrypted
[%2] name of variable containing the password used to encrypt
[%3] variable with numeric value. encrypt=2 , decrypt=1
[%4] variable in your app to receive the returned value.
Sample pub calls function by name: encrypt_decrypt
encrypt_decrypt function to place in your functions folder
encrypt_decrypt function:
| Code: |
|
{NeoBook Function} Version=5.70 Language=JScript Param=[%1]|Variable|String to be encrypted / decrypted Param=[%2]|Variable|Password to encrypt / decrypt Param=[%3]|Variable|Variable with numeric value. encrypt = 2 or decrypt = 1 Param=[%4]|Variable|Variable to receive returned value {End} function encrypt() { var MsgBox=new ActiveXObject("wscript.shell") if(pwd == null || pwd.length <= 0) { MsgBox.Popup("No encryption password provided."); return null; } var prand = ""; for(var i=0; i<pwd.length; i++) { prand += pwd.charCodeAt(i).toString(); } var sPos = Math.floor(prand.length / 5); var mult = parseInt(prand.charAt(sPos) + prand.charAt(sPos*2) + prand.charAt(sPos*3) + prand.charAt(sPos*4) + prand.charAt(sPos*5)); var incr = Math.ceil(pwd.length / 2); var modu = Math.pow(2, 31) – 1; if(mult < 2) { MsgBox.Popup("Algorithm cannot find a suitable hash. Please provide a more complex or longer password. "); return null; } var salt = Math.round(Math.random() * 1000000000) % 100000000; prand += salt; while(prand.length > 10) { prand = (parseInt(prand.substring(0, 10)) + parseInt(prand.substring(10, prand.length))).toString(); } prand = (mult * prand + incr) % modu; var enc_chr = ""; var enc_str = ""; for(var i=0; i<str.length; i++) { enc_chr = parseInt(str.charCodeAt(i) ^ Math.floor((prand / modu) * 255)); if(enc_chr < 16) { enc_str += "0" + enc_chr.toString(16); } else enc_str += enc_chr.toString(16); prand = (mult * prand + incr) % modu; } salt = salt.toString(16); while(salt.length < 8)salt = "0" + salt; enc_str += salt; return enc_str; } function decrypt() { } if (encrmode<2) |