Solved

encrypting JPEG in vb.net or store JPEG in MSSQL 2008

Posted on 2011-03-17
6
340 Views
Last Modified: 2012-08-13
Hi,

We would like to encrypt JPEG images, taken from a vision control system, and store them in the harddrive for later consultation by an authorized personnel. Our production control software is written in vb 2008. is there a way we could do that?

beside encrypting images, we tought we could store the images in a SQL Server 2008 Express database. Each images are about 120K. There will be 28 images per inspection. About 500 inspections daily and we need to keep a 30 days history in the database. Is it possible?

thanks for your time and help
0
Comment
Question by:Dominic34
6 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 35159066
0
 
LVL 23

Expert Comment

by:wdosanjos
ID: 35159630
SQL Server Express has some limitations (listed) below.  I think the only one that may affect your application is the 4GB of storage size (per database).

    SQL Server Express supports 1 physical processor, 1 GB memory, and 4 GB storage

More on the Limitations section on the following link:
http://www.microsoft.com/sqlserver/2008/en/us/express.aspx
0
 

Author Comment

by:Dominic34
ID: 35159713
encrypting jpeg don't work correctly. the decrypted result is unreadable.

0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 15

Accepted Solution

by:
David L. Hansen earned 500 total points
ID: 35159864
I'd use AxCrypt and then just store the image's location (path) in your database.  Then you can just have code encrypt and store the images (and update the database with the locations).  Additionally, the code could retrieve and decrypt the images for viewing.
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 35159895
This should help with the scripting (automating the encrypt/decrypt) stuff.
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 35159896
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now