Read a file from the client side

A

Allen Chen [MSFT]

Hi Laura,

As Mark mentioned, it's unsafe to read files directly from the client side.
A malicious web site can easily steal your private information if it's
allowed.

Mark raised two drawbacks when using ActiveX:
1. ActiveX can only work for IE users.
2. The user has to run the risk of allowing web sites to read all his local
files.

It's true. I think a better solution is to use a cross-browser plug-in. For
example, we can use Silverlight (it's still in Beta but will be released
soon). In Silverlight we can read/write files in the Isolated Storage,
which is a data storage mechanism that provides isolation and safety. The
default quota of the storage is 1MB. The program can only read/write files
in the Isolated Storage. Thus the two drawbacks are eliminated.

To get started, please install following tools first:
Microsoft Silverlight Tools Beta 2 for Visual Studio 2008:
http://www.microsoft.com/downloads/details.aspx?FamilyId=50A9EC01-267B-4521-
B7D7-C0DBA8866434&displaylang=en

How to use Isolated Storage:
http://silverlight.net/quickstarts/Other/StoreData.aspx

Please feel free to let me know if you need further assistance. You can
also ask questions in the Silverlight forum:
http://silverlight.net//forums/

Regards,
Allen Chen
Microsoft Online Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Reply-To: "Laura" <[email protected]>
| From: "Laura" <[email protected]>
| Subject: Read a file from the client side
| Date: Mon, 18 Aug 2008 10:36:45 -0600
| Lines: 5
| Organization: BCH
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 204.249.102.203
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP03.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:74138
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi:
|
| ¿How can I read a file on the client side without loading it to the
server?
|
|
|
 
A

Allen Chen [MSFT]

Hi Laura,

Is this problem solved? Please feel free to let me know if you need further
assistance.

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| Reply-To: "Laura" <[email protected]>
| From: "Laura" <[email protected]>
| Subject: Read a file from the client side
| Date: Mon, 18 Aug 2008 10:36:45 -0600
| Lines: 5
| Organization: BCH
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 204.249.102.203
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP03.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:74138
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi:
|
| ¿How can I read a file on the client side without loading it to the
server?
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top