Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Encrypted URL

Reply
Thread Tools

Encrypted URL

 
 
Dave Navarro
Guest
Posts: n/a
 
      02-18-2008

My boss wants to send an email to customers with a URL that allows them
to download updates for our products.

http://download.company.com?prod={encrypted_data}

The encrypted data would contain the product ID, customer ID and a date
stamp. Our code could decrypt the info, compare against a database and
proceed based on various criteria.

I haven't done anything with encryption, so I'm not sure where to begin
on something like this. The important thing is that the encrypted value
is not sequential, it needs some form of CRC or something to verify its
integrity (to prevent people from writing a program that runs through
sequential values trying to crack the site).

Everyone on our site is written in classic ASP, so I'm looking for a
classic ASP solution. Our host provider (godaddy -- not my choice, so
please don't complain at me) does not allow us to install any third-
party components, so unfortunately, that is not an option.

Can anyone point me in the right direction?
 
Reply With Quote
 
 
 
 
Anthony Jones
Guest
Posts: n/a
 
      02-19-2008

"Dave Navarro" <> wrote in message
news: om...
>
> My boss wants to send an email to customers with a URL that allows them
> to download updates for our products.
>
> http://download.company.com?prod={encrypted_data}
>
> The encrypted data would contain the product ID, customer ID and a date
> stamp. Our code could decrypt the info, compare against a database and
> proceed based on various criteria.
>
> I haven't done anything with encryption, so I'm not sure where to begin
> on something like this. The important thing is that the encrypted value
> is not sequential, it needs some form of CRC or something to verify its
> integrity (to prevent people from writing a program that runs through
> sequential values trying to crack the site).
>
> Everyone on our site is written in classic ASP, so I'm looking for a
> classic ASP solution. Our host provider (godaddy -- not my choice, so
> please don't complain at me) does not allow us to install any third-
> party components, so unfortunately, that is not an option.
>
> Can anyone point me in the right direction?


A more secure approach is not to place any data at all in any form on the
URL.

Instead place all the data you want to associate with the URL in a database
table an use a GUID as key.

The URL you place in the email need only reference the GUID. This is many
advantages over encrypting the data. The amount of data the URL can
represent can be large yet the URL will not be very big. Its simple and
doesn't require all that mucking about with encryption algorithms. Its more
secure since there is no way to decipher the URL and no way to spoof
alternative data.


--
Anthony Jones - MVP ASP/ASP.NET


 
Reply With Quote
 
 
 
 
Dave Navarro
Guest
Posts: n/a
 
      02-21-2008
In article <>,
says...
>
> "Dave Navarro" <> wrote in message
> news: om...
> >
> > My boss wants to send an email to customers with a URL that allows them
> > to download updates for our products.
> >
> > http://download.company.com?prod={encrypted_data}
> >
> > The encrypted data would contain the product ID, customer ID and a date
> > stamp. Our code could decrypt the info, compare against a database and
> > proceed based on various criteria.
> >
> > I haven't done anything with encryption, so I'm not sure where to begin
> > on something like this. The important thing is that the encrypted value
> > is not sequential, it needs some form of CRC or something to verify its
> > integrity (to prevent people from writing a program that runs through
> > sequential values trying to crack the site).
> >
> > Everyone on our site is written in classic ASP, so I'm looking for a
> > classic ASP solution. Our host provider (godaddy -- not my choice, so
> > please don't complain at me) does not allow us to install any third-
> > party components, so unfortunately, that is not an option.
> >
> > Can anyone point me in the right direction?

>
> A more secure approach is not to place any data at all in any form on the
> URL.
>
> Instead place all the data you want to associate with the URL in a database
> table an use a GUID as key.
>
> The URL you place in the email need only reference the GUID. This is many
> advantages over encrypting the data. The amount of data the URL can
> represent can be large yet the URL will not be very big. Its simple and
> doesn't require all that mucking about with encryption algorithms. Its more
> secure since there is no way to decipher the URL and no way to spoof
> alternative data.


Hmm... thanks.

--Dave
 
Reply With Quote
 
Dave Navarro
Guest
Posts: n/a
 
      02-21-2008
Thanks!!

In article <>, "Jon Paal [MSMD]" <Jon
nospam Paal @ everywhere dot com> says...
> http://www.4guysfromrolla.com/webtech/010100-1.shtml
>
> "Dave Navarro" <> wrote in message news: om...
> >
> > My boss wants to send an email to customers with a URL that allows them
> > to download updates for our products.
> >
> > http://download.company.com?prod={encrypted_data}
> >
> > The encrypted data would contain the product ID, customer ID and a date
> > stamp. Our code could decrypt the info, compare against a database and
> > proceed based on various criteria.
> >
> > I haven't done anything with encryption, so I'm not sure where to begin
> > on something like this. The important thing is that the encrypted value
> > is not sequential, it needs some form of CRC or something to verify its
> > integrity (to prevent people from writing a program that runs through
> > sequential values trying to crack the site).
> >
> > Everyone on our site is written in classic ASP, so I'm looking for a
> > classic ASP solution. Our host provider (godaddy -- not my choice, so
> > please don't complain at me) does not allow us to install any third-
> > party components, so unfortunately, that is not an option.
> >
> > Can anyone point me in the right direction?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypted URL, e.g.: (ry2rvt55anmz1afokhkm21rw) Timo ASP .Net 3 02-16-2005 07:16 PM
Loose encrypted connection after re-boot joekohn@att.net Wireless Networking 0 12-26-2004 03:51 AM
Problem passing encrypted string in url Julia ASP General 2 09-22-2004 04:54 PM
URL - substitution of a correct URL by a GUID like URL in favorites. Just D. ASP .Net Mobile 0 08-11-2004 04:26 PM
redirect URL's, return URL's, and URL Parameters Jon paugh ASP .Net 1 07-10-2004 05:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57