If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Secure database back-end, multiple db or replicate?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-21-11, 06:23
nlJeffrey nlJeffrey is offline
Registered User
 
Join Date: Apr 2011
Posts: 1
Secure database back-end, multiple db or replicate?

Hey all,

I am creating a website where users can order some products and publishers can insert their products through a back-end system.

I want the products to be visible on the website for users to order but when users order, i want this information in a different database that cannot be accessed through the web.

I thought of the following options:

1) Option1 - Webservice with two database
Database A) Front-end (product catalog)
Database B) Back-end (order tables)

Foreign keys would be made from Database B to Database A. E.g. Foreign key in DatabaseB.Booking.product_id to DatabaseA.product.product_id

I would use a webservice that has access to database B to insert the orders. So if a user compromises the webserver they only have access to database A, which is basically the product listing.

2) Option 2 - Replication
Database A) Front-end (product catalog)
Database B) All tables

Now I would have to copy some tables to database A to be used by the website.

How would you implement this securely? Basically making sure that webusers never have access to the order tables...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On