W3C home > Mailing lists > Public > public-html@w3.org > January to March 2007

Re: Multipart response support

From: Henrik Dvergsdal <henrik.dvergsdal@hibo.no>
Date: Wed, 28 Mar 2007 12:37:36 +0200
Message-Id: <4EFC6235-9977-4635-9F2C-76F9DC9ACD08@hibo.no>
To: public-html@w3.org


On 28. mar. 2007, at 11.23, Luka Kladaric wrote:

> easy preloading at the cost of difficult setup... if you're talking
> PHP, it's complex output buffering and voodoo... if you're talking
> plain HTML then it's just a pain to edit with plaintext editors

I agree that this is impractical in manually authored web pages.

When it comes to web applications driven by PHP and other types of  
server side infrastructure, however, this is (or can be made) quite  
straight forward, at least for modestly sized attachments. There are  
already a lot of applications out there that use these techniques to  
send emails with attachments. No voodoo here.

There is certainly room for improvements in function libraries etc.  
but most of these are quite easily to implement. In PHP, for  
instance, it should be pretty straight forward to implement a  
function that inserts attachments, alongside the header() and  
setcookie() functions.

> security through obscurity, anyone?

This is no more obscure than attachements in emails and images in  
Word documents. Actually it corresponds more closely to what most  
people think is happening.

> average users don't look at scripts and stylesheets,
> advanced users will get them anyway.

It will represent a significant barrier though. Obtaining hidden code  
etc. simply won't be worth while in many situations. The same goes  
for images and other types of media.

--
Henrik
Received on Wednesday, 28 March 2007 10:38:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 March 2007 10:38:10 GMT