Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 18th, 2002, 04:20 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,299 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 37 m 10 sec
Reputation Power: 105
Send a message via ICQ to christo Send a message via Yahoo to christo
Credit Card details protected??

I recently worked for a company who stored all the CC details of their clients in a database - unencrypted. Access over the internet was controlled by only allowing a few IP addresses to connect, (comany members/developers etc). I couldn't help thinking that there must be a safer way to deal with this data. What are your thoughts on IP blocking to protect a database. One member of the company suggested that if a fraudster wanted to get hold of CC details, there would be a much easier way of doing it - oh, and that if the company was hacked, nobody would know and the victims would never know where their CC was taken from... if you know what I mean.

What's the general voice on this topic? My cruise around these forums revealed that most of us totally disagree with the idea of storing any CC data in any form.

Christo
__________________
.
Spiration channels: Free scripts, programming tutorials and articles
Clearprop: UK microlight school, wiltshire

Reply With Quote
  #2  
Old April 18th, 2002, 10:56 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 56
I agree that the best way to protect yourself in these areas is to NOT save credit card data. But sometimes a company needs to save that data in order to handle repeated transaction, etc...
IN these cases, though, I think it is important to use the maximum amount of protection possible. Storing the data in encrypted form is one way to do this.

In fact, storing encrypted data is such an easy thing to do nowadays that there is no real excuse not to do it with credit card data. Yes, encrypted data can sometimes be broken, but it's a lot more work.

The second part of this is to ask the question "what programs/PHP scripts/Perl scripts are handling this data?" This could be another weak link in the chain. If you have encrypted data, but the encryption key is written in plain text right in your scripts, then what's the point? Fortunately, PHP scripts can be encrypted with the Zend Encoder. I'm not sure if there is any way to hide such data in Perl, but I believe there are methods of pre-compiling Perl scripts. Otherwise, one could consider using a compiled language such as C or Java to handle the data.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #3  
Old April 18th, 2002, 11:07 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,299 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 37 m 10 sec
Reputation Power: 105
Send a message via ICQ to christo Send a message via Yahoo to christo
thanks

Good to hear your thoughts, rycamor. I agree that more shold be done to protect customrs and ultimately the company.. I wonder what your thoughts are on the IP blocking solution?

Christo

Reply With Quote
  #4  
Old September 21st, 2002, 05:03 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Generally you don't access a database directly, you access it via some kind of interface, be this a graphical front end to the database, a Perl/PHP script, or whatever. You can limit the access rights to certain IP addresses on the interface in a number of ways, depending what the interface is.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > Credit Card details protected??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT