473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Attachment based programming in .NET

All,

I am wanting some advice on getting started on an application that has
to take attachments. Basically, I have an application that
creates/pulls data from MS SQL Server. With this data, the user can add
attachments that are associated with it. I am wondering what is the
best (I know that's subjective, but opinions are what I am asking for)
route to take for accomplishing this task. Here are my thoughts:

1) In the database, have a column with links separated by a semicolon,
Pro - Small storage on the database
Con - If the file is moved/modified, the database had to be updated
at the same time. Also, processing time for going through the list of
attachments.

2) In the database, just have a column that actually points to the
attachment itself, letting SQL Server load the attachment internally
(not sure if that's possible, but I know that Wiki's do it). Basically,
it would be like inserting the attachment into the database, and
letting SQL Server do it's thing.

Pro - Easy to code (hopefully)
Con - Not sure about the security... could load a malicious file...
etc..

Any thoughts would be great! Thanks all!

Dec 12 '06 #1
0 806

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Michael Rozdoba | last post by:
I've had some trouble getting IE to behave in respect of applying absolute positioning to a span on an a:hover. I can get it to work, but I don't understand why certain code causes it to fail to...
2
by: Chris Kane | last post by:
We have written a class that enumerates the items in a WSS list and then attemptes to open the attachment for each item. We have written two classes, one to impersonate a user and read in the list...
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
2
by: Robbie De Sutter | last post by:
Hello, How do I open a new, empty e-mail message from the default e-mail client whereby the sender is given and a file is attached? Currently I use the command (vb.net): ---...
50
by: Mikhail Teterin | last post by:
Hello! The sample program below is compiled fine by gcc (with -Wall), but rejected by Sun's SUNWspro compiler (version 6 update 2). The point of contention is, whether a value for one of the...
0
by: IMSS | last post by:
The advanced content filter defined by mindSHIFT Technologies has removedthe attachment(s) from the following message based on attachment type. Reference Information:
1
by: =?Utf-8?B?RGl2ZXJzaXR5IE1hbg==?= | last post by:
My problem is when I send an attachment to a created E-Mail file that is not a Microsoft Word attachment it still attempts to open the attachment in word. How can I correct this problem? -- JW
2
by: Mathew Coleman | last post by:
Hi All, I would like to send emails through an application. Body and attachment have to be encrypted as well as digitally signed. I could able to sign it and send when it does not...
1
by: =?Utf-8?B?QnJhc3NpY2FOaWdyYQ==?= | last post by:
Greetings, This question does not seem to fit any of the forum headers so I picked the most general sounding forum I could find. My laptop is running Vista Ultimate. I use yahoo.com for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.