Focal Point
Password Encryption

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1451015262

December 20, 2007, 02:59 PM
Tami K
Password Encryption
I created a login page in HTML Layout Painter and i would like to know how to encrypt the input going into a text box.


WebFOCUS 7.6.0
Windows
Output: Excel, HTML and PDF.
December 20, 2007, 04:14 PM
GinnyJakes
<input type="password" name="IBIC_pass" size="20" value="">  


This should do it.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
December 20, 2007, 04:51 PM
Tami K
Thanks, that worked. But now when i pass the password back i get an "incorrect login".
do i have to decrypt it?
(i'm new at this can't you tell?)


WebFOCUS 7.6.0
Windows
Output: Excel, HTML and PDF.
December 21, 2007, 09:15 AM
GinnyJakes
No, you don't need to decyrpt it.

Unfortunately, I don't know what else is going on in your environment. Are you logging onto the reporting server? Is the logon page set up correctly. Is OPSYS security turned on for your reporting server?

You might want to talk to your WebFOCUS admin about a couple of these things.

If you are running locally, you shouldn't need to run with security and then you wouldn't have to log on.

Sorry, Tami, but I don't have an easy answer to this one.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
December 21, 2007, 09:51 AM
Tami K
Thanks Ginny, i'm happy with the encryption! - i'll try to figure out the rest.
Happy Holidays!


WebFOCUS 7.6.0
Windows
Output: Excel, HTML and PDF.
December 21, 2007, 09:55 AM
Tom Flynn
Tami K,

GOOGLE'd this:

Hide password input with Javascript

Found this:

Password example

Then I viewed source and copied this into WebFOCUS, with a slight modification:

  

<html>
<head>
<title>Keeping Compact Forms Accessible: Example #2: CSS added to markup.</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<style type="text/css" media="all">
body {
	font-size: 1em;
	font-family: arial,helvetica,sans-serif;
}

h1 {
	font-size:1.3em;
}

form#login {
	padding:6px;
	position:relative;
}

div#username,
div#password {
	position:relative;
	float:left;
	margin-right:3px;
}

input#username-field,
input#password-field {
	width:10em;
}

div.overlabel label {
	position:absolute;
	top:3px;
	left:5px;
	z-index:1;
	color:#999;
}
</style>

</head>
<body>

<h1>Keeping Compact Forms Accessible: Example #2: CSS added to markup.</h1>

<form id="login" action="#" method="post">
  <div id="username"> 	
    <label for="username-field" class="overlabel">Username</label>
    <input id="username-field" type="text" name="username" title="Username" value="" tabindex="1" />
  </div>
  <div id="password">
    <label for="password-field" class="overlabel">Password</label>
    <input id="password-field" type="password" name="password" title="Password" value="" tabindex="2" />
  </div>
  <div>
    <input type="submit" name="submit" value="Login" tabindex="3" />
  </div>
</form>

</body>
</html>



1st part is css
2nd part the input boxes must be in a form with method=post.

I am not a JSer, but, I tried this on 7.6.4 and it works; need to incorporate into WebFOCUS.


Hope this helps...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 21, 2007, 11:28 AM
Tami K
i'll experiment with that, thanks!


WebFOCUS 7.6.0
Windows
Output: Excel, HTML and PDF.