Web Forms :: Merchant Id Key / Need To Encrypt And Place In Configfile?
Jul 23, 2010I have placed google checkout merchant id and key in web.config.
is it secure?
Do i need to encrypt and place in configfile?
I have placed google checkout merchant id and key in web.config.
is it secure?
Do i need to encrypt and place in configfile?
the best way of achieving the following using SQL Express 2008.I have a table with the following information in:
merchant id (an integer referencing the merchant i.e 1000)
merchant category id (an integer referencing a unique category for the merchant i.e 1015)
points (a long int)
I want to access the point data for both the merchant and merchant category.
?
i.e. merchant 1000 total points 100
merchant category 1015 total points 70
merchant category 1016 total point 30
I created a view with rollup which gives me the 2 levels i need, but i'm unsure as to whether this is the most efficient way of achieving my goal.Ideally I'd like a view to show the following:
merchant category 1015 category points 70 merchant points 30 rather than:
merchant category 1015 merchant 1000 points 70
merchant category 0 merchant 1000 points 100
i have a .net example from barclays epdq merchant inergration. which i get working fine, but i need to send the request via a onclick event, currently the example uses a html form, what would be the best way to do this?instead of usng the form below i want to hold hidden asp feilds and dynamically populate them
<form name="epdq" action="https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e" method="post">
<%= Session["Response"] %>
<INPUT type="hidden" name="returnurl" value="http://www.store.co.uk/">
[code]...
Recently we've developed an E-Commerce web application for a client. We are at the stage before launch and the client is not happy to disclosing live merchant account details to us because they don't want us to potentially being able to see their clients' data.
Since we are going to maintain their website (running off their servers but we will still have access to the site files) I cannot see an easy solution to this other than trust.
How to implement and maintain E-commerce application when business don't want to disclose merchant details to developers?
I want to place two datalist controls at the same (x,y) position. When the first is visible, second should be invisible.
How would I go about implementing this?
I am using this method for Encryption and Decryption.
protected string Encrypt(string clearText)
{
string EncryptionKey = "MAKV2SPBNI99212";
byte[] clearBytes = Encoding.Unicode.GetBytes(clearText);
using (Aes encryptor = Aes.Create())
{
Rfc2898DeriveBytes pdb = new Rfc2898DeriveBytes(EncryptionKey, new byte[] { 0x49, 0x76, 0x61, 0x6e, 0x20, 0x4d, 0x65, 0x64, 0x76, 0x65, 0x64, 0x65, 0x76 });
[code].....
how can Encrypt and Decrypt this .
<a href = '" + Request.Url.AbsoluteUri.Replace("Test.aspx", "Display_Request.aspx?RequestID=" + empid) + "'>Click here to activate your account.</a>
how do i deencrypt from the membership provider database?
View 1 RepliesHow can i encrypt my website url ?How can i decrypt my website url ?
View 1 RepliesHow to encrypt web.config file
How to use 'DataProtectionConfigurationProvider'...
How to encrypt Password using query string in asp.net c#
View 1 RepliesI am looking for common ground for encrypt then decrypt.
I need to encrypt a query string using JavaScript.
Then decrypt it in code behind, C# or VB, doesn't matter.
This value is going from one app to another, so even a cookie won't work.
i want to ask about the best place to put my connection string in my web application and also how to encrypt it?
View 1 RepliesI have search all around the internet and still have not found a solution for this problem. I have successfully been able to make a data grid hyperlink and encrypt the query string coming from that link. The problem that I am having is trying to decrypt the query string. When I try to decrypt it I get an error of "Invalid character in a Base-64 string."I know this means that I have a white space or an Invalid character somewhere, but for the life of me I don't know where. Futhermore I try this same code without the datagrid and replace it with just regular textboxes that passes querystrings to the next page and the code work perfectly.
View 4 RepliesI have the following requirement:
- During client registration, the password must be client side encrypted with SHA1 algorithm and stored in the DB
I have done that before using javascript on the client side. But it was a non MVC web app. I know I can use js again, but I'm trying to find a better approach.Using https or not is not depending on our development side, so we can not change the requirement.
I used below class to change data to some code and save it in database
public class ClsCrypt
{
public ClsCrypt()
{
//
// TODO: Add constructor logic here
[Code] ......
and
_cmd.Parameters.AddWithValue("@PassWord", ClsCrypt.computeMD5Hash(Txtpass.Text));
I wrote above code in insertbutton event for saving users password in database... Now In other page I want shows password in lable but in database it save it like code and didn't show it in label... So for showing password(that save in database with code) in label what should I do? Can I change code and show it in label?
While sending password value from client side to server side i need to encrypt textbox value using javascript and receive that encrypted value in the server side. Here in the link you'll find one example which will send encrypted value of textbox from client end to server end. I'm trying to implement the same code, but this doesn't send encrypted textbox value from cilent side to server side. I do google regarding this, but no positive result found till now.
View 1 RepliesIs there any way where i can do the encryption while input values in a textbox?? I need to do Password encryption in client side and then have to store different encrypted value in the database for security purpose.
View 1 RepliesHow to encrypt and decrypt querystring in asp.net webforms ....
View 1 Replieshow to encrypt the xml data and decrypt the data in mvc?
View 1 RepliesI want to save my password and it sould be saved in encryptd form in my db SQl Server in asp.net.
View 1 RepliesI want to to encrypt password show me the query for encryption password
View 1 RepliesHow to Encrypt App Settings in Web Config file in asp .net
View 1 Repliesis there any way to decrypt the membership password?
View 1 RepliesI am redirecting to serverside from clientSideI want to encrypt the querystring passed from clientSide & decrypt it in server side
Below is the code used in clientside :
url = 'VAEditCodeBySite.aspx?caseid=' + caseidtmp + '';
window.open(url, 'new', settings);
How can encrypt the web configuration file ... so I don't want the connection name is appeared. How to do ncryption of web config file.
View 1 Replies