Re: Need to compress files on client side... Is it possible to use vbs for that?
- From: Big George <jbeteta@xxxxxxxxx>
- Date: Sat, 5 Dec 2009 08:47:10 -0800 (PST)
On Dec 5, 10:23 am, "mayayana" <mayaXXy...@xxxxxxxxx> wrote:
I'm not trying to look for security holes or hacking anything.
Actually, compressing files on client side and transfer them via
asp.net is a thing that my end-users need to do.
Browsers have file upload functionality. For security
purposes the path is not available through the
browser object model. To ask for more than that,
like file compression abilities client-side, just doesn't
make sense. It means you'd have read/write permission
on their file system. Would you go out on the Internet
visiting webpages if all of them could do whatever they
liked on your PC?
People may have relaxed security with an intranet
connection, but not that relaxed. The default IE
settings still block unsafe ActiveX, which is what
your control would be if it has file system access.
If you really have to have compression for some
reason you might consider writing a small program,
some kind of "wizard", that people can download.
That program could then walk them through the
compression operation, after which they upload
the file through your page. But that program should
have compression functionality built-in unless you
have a very small clientelle, because you can't count
on any specific compression functionality being present
client-side; especially not 7-zip.
I found that Yahoo give a solution for that
http://browserplus.yahoo.com/demos/squeezr/
.
- Follow-Ups:
- References:
- Prev by Date: [slightly OT] preserving folder timestamp
- Next by Date: Re: Need to compress files on client side... Is it possible to usevbs for that?
- Previous by thread: Re: Need to compress files on client side... Is it possible to use vbs for that?
- Next by thread: Re: Need to compress files on client side... Is it possible to use vbs for that?
- Index(es):
Relevant Pages
|