Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

How to encrypt and decrypt the values to db and also when passing as querystring
Last Post 11-19-2008 05:17 PM by Chad Nash. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Sherlock HolmesUser is Offline
river guide
river guide
Posts:81
Avatar

--
11-16-2008 06:44 AM

    Hi,

     

    I want to encrypt and decrypt the values and save it in db and also pass them as a query string how to do it?

    CandaceUser is Offline
    river guide
    river guide
    Posts:2398
    Avatar

    --
    11-19-2008 02:45 PM

    Sherlock,

    This link might give you some ideas:

    http://www.dotnetnuke.com/Community...fault.aspx

     

    Hope that helps,

    Candace

    Chad NashUser is Offline
    Posts:5292
    Avatar

    --
    11-19-2008 05:17 PM

    Yes, this is probably a good thread if you are changing the source code within the module. Otherwise the only option I would recommend or suggest would be to use the 'SQL Default Value' and within that query pass it the parameter such as the $(DSParam1) token etc... The SQL would then be responsible for decrypting the data and you would have to look at function calls specifically within SQL to handle this. So option 1. modify source for module and option 2. use stored procedure/SQL to handle this.

    Typically... You would want to pass a very unique value (such as a GUID or unique identifier) and have that identifier used to pull the specific data out of a database table instead of passing values around along a querystring like this. Otherwise you also run the risk of someone figuring out what the encryption/decryption methods are and being able to access that data anyway.

    -Chad

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
     
     
       
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.