Solved

Anyone's used Filestream?

Posted on 2012-04-05
5
367 Views
Last Modified: 2012-08-14
I need to upload patient information files (not huge ones, some PDF files) . I've been thinking about either using .Net's encryption to encrypt and decrypt OR use filestream here:

http://msdn.microsoft.com/en-us/library/cc645923.aspx

Anyone's used it? will I run into corrupt data and problems later when we go live? should I just C# to encrypt and load to a folder and then download and decrypt?

thanks
0
Comment
Question by:Camillia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37814912
Not sure why you would encounter corrupt data.
If you want to know about the virtues of using filestream for storage and access then you can't get better than this excellent document
http://msdn.microsoft.com/en-us/library/cc949109.aspx
0
 
LVL 7

Author Comment

by:Camillia
ID: 37814922
Have you used it? as far as corrupt data...i think storing files in sql 2000 corrupted data, no?
I'm not a DBA but i remember reading about it back in the day.

Thanks for the article, let me read. Thanks
0
 
LVL 29

Expert Comment

by:QPR
ID: 37814932
Yes within sql but not in a web/windows application.
Filestream was introduced in sql server 2008 so 2000 info must be referring to something else, perhaps BLOB.
Filestream stores the files themselves in the file system as opposed to the database.

Here are the best practises for filestream
http://www.mssqltips.com/sqlservertip/1875/best-practices-when-using-filestream-feature-of-sql-server-2008/
0
 
LVL 7

Author Comment

by:Camillia
ID: 37814941
thanks again. I was able to create the filestream database. I will continue
0
 
LVL 7

Author Comment

by:Camillia
ID: 37818185
it did corrupt the files. I opened a question here. Can you take a look?

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL_Server_2008/Q_27665866.html
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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