To Encrypt Or Not To Encrypt?

Feb 23, 2011

We are creating a Silverlight application and need to have a few parameters pass in with the url from calling site.

example: http://oursite.com/index.aspx?test=d53ae99b-06a0-4ba7-81ed-4556adc532b2

We want to give the calling website 'test' string that links back to the guid of our table which tells the Silverlight application what it's task is when they arrive. We also use this guid for authentication on our application among other things.

The guids are as such:

d53ae99b-06a0-4ba7-81ed-4556adc532b2
8354b838-99b3-4b4c-bb07-7cf68620072e

Encrypted, the values are much longer:

l5GyhPWSBUw8KdD+TpWJOsoOFDF0LzmGzd4uufLx+v/d3eByGZ6zPcRjvCRMG2tg
WVMN7B0FPa18/Q7+U4njb5AOKnx6Ga9xoAsvCET6MyjM5TV6dO86OexaCXDiXaES

My question is, with security in mind, should we give them the guid encrypted or like it is unencrypted?

What is everyone's experience with this type of parameter passing?

View 1 Replies


Similar Messages:

How To Encrypt / Decrypt The Url In C#

Jun 3, 2010

I have a URL www.site-address/site-page/page1.aspx?username=deepu&password=deepu how can i change the URL to www.site-address/site-page/page1.aspx?username=232322323232&password=2323232322323 ie i want to encrypt the fields i pass through the URL to encrypt and decrypt the URL in C# using .net,now i am using response.redirect and pass these values as query string...

View 3 Replies

Encrypt The Querystring In C#.net

Mar 15, 2011

string emailfield=txtEmail.Text.ToString();
string url = "http://localhost:3076/user/Authenticate-Users.aspx?email="+emailfield;

I want to encrypt the querystring and then decrpyt. Is there any way to do this in C#?

View 6 Replies

Vb.net - How To Encrypt The Address Bar Url Using (VB)

Nov 20, 2010

How to encrypt this url in asp.net (VB), so that user cannot view this address bar text in their browser address bar ?

http://localhost:2486/volvobusesindia/passenger_info.aspx?from=Delhi&to=Manali&journey=21-Nov-2010

View 4 Replies

How To Encrypt Folder In C#

Feb 2, 2010

A folder on File System contains .xml files, .txt files and a file exposed by third party tool. Using c# (in VS 2008), I want to encrypt the whole folder in someway before transferring it through FTP.

View 2 Replies

C# - Encrypt Cookies In Asp.net?

Dec 5, 2010

I would like to encrypt cookies in ASP.NET.

I have followed the method in this article, but it has the drawback that is uses reflection on an internal method. This has caused it to be flagged in a code review -- it is not future-proof as the internal implementation may change.

Is there a method with identical functionality which doesn't require using encryption on internal methods?

I am using .NET Framework 3.5 SP1 (Assume I cannot change framework versions)

View 1 Replies

C# - Store KEY From AES Encrypt?

Aug 9, 2010

How should I store KEY from AES encrypt?

SceAES secaes = new SceAES("pomboSenha","G567EF33WQ19PL1S",12,45,256,"SHA1","systemSCE"); "pomboSenha" is the secretKey above.

Is safe to mantain it hardcoded in a class?

View 2 Replies

How To Encrypt Password In .net Mvc

May 22, 2010

how can i encrypt password field in asp.net mvc to be store in encrypted form

View 2 Replies

How To Encrypt URLs In .NET MVC

Dec 16, 2010

I need to Encrypt the URLs in my ASP.NET MVC application.

Do I need to write the code in Global page in Route Collection to Encrypt all the URLs?

View 1 Replies

Encrypt ValidationExpression In VB.net?

Jan 20, 2011

I'm very new to asp and vb.net, I've just learned about regular expression validation but one thing is bugging me: How can I hide my expression from being viewed on my source code?

The plan is to make a very simple 'login' type of page. I know this goes against all that is holy in this kind of operations, but it's just something I'd like to try out.

Also, after the expression has been validated, I want to load another page, I was thinking of achieving this with:

<asp:TextBox ID="txtcp" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="CP Errada"
Display="Dynamic" ControlToValidate="txtcp" ValidationExpression="admin"></asp:RegularExpressionValidator>

and in vb:

If txtcp is validated then Response.Redirect("mypage.aspx") end if

But the syntax on this IF is obviously not right

View 1 Replies

Security :: How To Encrypt 128-bit

Jul 9, 2010

Does anyone have the code on how to encrypt 128-bit?

View 5 Replies

How To Encrypt The Pdf Format

Jul 8, 2010

i am sending pdf attachment mail through the vb.net program .it will go and save in the mail. i want to encrypt and send this pdf. if user open that pdf document trough the it should ask username/password and allow it save local system how to achieve this.

View 1 Replies

Web Forms :: Encrypt Value Of ID In URL?

Apr 29, 2014

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>

View 1 Replies

How To Encrypt Be Done For Database Password Alone

Aug 24, 2010

I have a website which has reference to a service layer through which it calls the procedures.I have a web.config file in my service layer.I want to know is that possible to encrypt the database password alone in connection string.if so how it could be done using Enterprise library 5.0.And whether encrypted password should be decrypted before procedure call or it would automatically take decypted value for procedure call.

View 1 Replies

How To Encrypt The Url In A Mathematical Approach

Aug 25, 2010

I am looking into the possibility of shortening / encrypting a url which will be from 150 to 250 characters in length to maximum 12 characters using an algorithm. Initially I am doubting it's possible but I wanted to leverage the great minds of StackOverflow :)

the algorithm should be one that can be written in classic asp, sql, c#, vb, or foxpro or other language.

Is that even possible without a database centric approach?

I was reading here that AES in CFB mode, will do a stream cipher and the output length will be the same as the input length. Is there any way to shorten it even more?

View 4 Replies

C# - How To Secure/encrypt Querystring

Jun 7, 2010

I was wondering how you could encrypt/decrypt your querystring in a simple asp.net page? some values need to be passed between different pages but the querystring cannot be changed or read.

Some say httphandles could be the solution for this.

MORE BACKGROUND INFO:

this is the problem, sometimes the sessions disappear without any reason (well there must be one but I don't know it yet). I've looked into the possible reasons but nothing that could cause it is happening.
Therefore I cannot rely on it anymore. The cookie solution is a possibility but it will be more work to implement than simply using the querystring. The url can be copied at any time just not changed!

View 4 Replies

Encrypt Querystring Using HttpHandler

Feb 24, 2011

How to encrypt querystring using HttpHandler?

View 1 Replies

Encrypt And Decrypt Image .net

Sep 29, 2010

Can anyone give me an example for encrypt and decrypt an image using .net with asp.net

I want this encryption to the image when I save it into sql server as binary data.

View 2 Replies

How To Encrypt Query String In Vb.net

Nov 20, 2010

How to encrypt query string in vb.net?

http://localhost:2486/volvobusesindia/passenger_info.aspx?from=Delhi&to=Manali&journey=21-Nov-2010

View 2 Replies

Security :: How To Encrypt The Code

Mar 29, 2010

I am having an algorithm for validating my license file, i need to encrypt the license file validation code in my project, So that even the hacker decompile the dll, he could not decrypt the license validating code, is it possible?

View 1 Replies

Web Forms :: How To De-encrypt From Aspnetdb.mdf

Mar 9, 2010

how do i deencrypt from the membership provider database?

View 1 Replies

How To Encrypt A Web.config File

Mar 16, 2011

How can I encrypt a web.config file? And how can I then decrypt it again?

View 2 Replies

How To Encrypt Stored Procedure

Feb 10, 2010

We can precompile our (ASP.NET) websites and can publish only the IL code, so that the source code is not available to the customer.

But how do we do it for stored procedures written in SQL Server. I mean, when we give the customer the DB, he could see all my stored procedures and can modify the same..

View 3 Replies

Security :: Encrypt Of One Column?

Feb 20, 2011

I have table of users with their passwords. Can I just manually encrypt the passwords now till the app is fixes that would make the encrytion process in this program? and if yes how do I do this?

View 1 Replies

Web Forms :: How To Encrypt Website URL

Nov 18, 2013

How can i encrypt my  website url ?How can i  decrypt my  website url ?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved