close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problems with encryption

Thread began 2/01/2011 6:06 am by mbarria421700 | Last modified 2/02/2011 8:12 am by Jason Byrnes | 2830 views | 12 replies |

mbarria421700

Problems with encryption

Everytime I try to put the SHA1 encryption DW crashes.
I already clean de Cache and deleted it.

Sign in to reply to this post

Jason ByrnesWebAssist

What version of Dreamweaver Are you using?

What Version of Security Assist?

What is your Operating System?

Sign in to reply to this post

mbarria421700

Originally Said By: Jason Byrnes
  What version of Dreamweaver Are you using?

What Version of Security Assist?

What is your Operating System?  



CS4 V10.0
Security Assist 1.1.9
Windows 7

Thanks

Sign in to reply to this post

Miguel

Originally Said By: mbarria421700
  Everytime I try to put the SHA1 encryption DW crashes.
I already clean de Cache and deleted it.  



How are you doing it are you trying to apply it directly to the field if so thats why it crashes the first time i used this tool i was trying to apply the encrypting directly to the text form element and that is the incorrect way to use it and makes dw crash you have to apply the encryption directly in the insert or update server behaviors

Sign in to reply to this post

mbarria421700

Originally Said By: Sades
  How are you doing it are you trying to apply it directly to the field if so thats why it crashes the first time i used this tool i was trying to apply the encrypting directly to the text form element and that is the incorrect way to use it and makes dw crash you have to apply the encryption directly in the insert or update server behaviors  



Ok right, but by the servers behaviors, there isn't any option to apply the encryption, In the insert I just see The connection, table, columns, Value, Submit as, and the page after inserting.

MB

Sign in to reply to this post

Jason ByrnesWebAssist

SHA1 is used as a format in the insert record behavior.
Select the Password column in the Insert record Behavior, then click the lightning bolt next to value, select the Password form element, and set the formatting Drop Down List to SHA1 Encryption.

Sign in to reply to this post

mbarria421700

Originally Said By: Jason Byrnes
  SHA1 is used as a format in the insert record behavior.
Select the Password column in the Insert record Behavior, then click the lightning bolt next to value, select the Password form element, and set the formatting Drop Down List to SHA1 Encryption.  



Wow I Arrived to do what you said, Now it didn't crash. But now I have another problem:

Warning: require_once(../WA_SecurityAssist/WA_SHA1Encryption.php) [function.require-once]: failed to open stream: No such file or directory in ...... blbla

But I dont see any file by that name, it should be generated from somewhere.

MB

Sign in to reply to this post

Jason ByrnesWebAssist

get a copy of that file from the following thread:
showpost.php?p=13143&postcount=2

Sign in to reply to this post

mbarria421700

Originally Said By: Jason Byrnes
  get a copy of that file from the following thread:
showpost.php?p=13143&postcount=2  



It doesn't encrypt,

is there something wrong with code?

<input type="password" class="WAATKTextField" name="UserPassword" id="UserPassword" value="<?php echo WA_SHA1Encryption(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"")) ?>" />

MB

Sign in to reply to this post

Jason ByrnesWebAssist

your are adding the encryption format to the form element itself, before the value is posted.

you need to add the encryption format in the Insert record behavior,

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...