CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 two-way encryption function CCEncryptString

Print topic Send  topic

Author Message
bedollandres

Posts: 48
Posted: 11/20/2008, 7:46 AM

Could someone please explain how I could use the "two-way encryption function CCEncryptString ". In the Project Settings-Security-Advanced Security Settings I select "Encrypt passwords using", what do I put in the "Code Expression:" ?

What do I need to put in the login page in order to work?

When I try to do a user mantenaince form and select the Record Builder the "Encrypt password value in database" option is not available.

I'm using CodeCharge Studio 3.2.0.4, Windows XP, SQL Server 2000, ASP 3.0 with Templates.
_________________
bedollandres
View profile  Send private message
Oper


Posts: 1195
Posted: 11/20/2008, 7:58 PM

check this Picture

http://www.7BZ.com/CCSImageLink/SecurityImage.jpg


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
bedollandres

Posts: 48
Posted: 11/24/2008, 2:23 PM

Thank you Oper... I managed to work it out by puting this as the "Code Expression:"
CCEncryptString({password} , CCS_ENCRYPTION_KEY_FOR_COOKIE)

This way I'm using the CCEncryptString function and could use de CCDecryptString function to know the password. I found out that CCS_ENCRYPTION_KEY_FOR_COOKIE is the variable that CCS uses for the encryption key for the Remember me option.
_________________
bedollandres
View profile  Send private message
Oper


Posts: 1195
Posted: 11/25/2008, 1:18 PM

Nice to know worked for you sir.

i just like to use Encription just for oneway.
(for security reason but work perfect both way)

but i didnt know about the KEY variable (Thank for sharing)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.