?
Solved

c# asp.net website manipulating user file on desktop

Posted on 2012-03-29
7
Medium Priority
?
228 Views
Last Modified: 2012-04-09
Hi Guys,

I have created a website which will grab a specific excel file on the users desktop and manipulate contents.  The catch is I have only done this on my local machine in microsoft visual web developer 2010 express, and have not put on web host yet.  So I have not tested it on the actual internet as of yet.

It obviously works local.. but my question is there has to be some type of security to allow a website to read a users pc and manipulate a file.  What strategy to I go about confronting this issue?  Will it just fail in a live environment, or will it ask user to allow manipulation?  Or do I need to write some type of code to ask user to allow?

Thank in advance
0
Comment
Question by:solarissf
[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
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37781652
Unfortunately this will fail in a live environment, it is working now as you machine is acting as the Server when running so it is allowed to manipulate files on the 'server'.
However in a live environment it will be breaking security to try and access a local users file system through the browser.
0
 

Author Comment

by:solarissf
ID: 37781655
how do I go about fixing this?
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 37781713
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:solarissf
ID: 37781798
instead up having the user upload the file.  Someone recommended something about creating an activeX object, downloading it to the user, and manipulating that object.... this is above my head at the moment but I might have to learn... can you explain this process?
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37781860
Sorry that is beyond my knowledge, don't use ActiveX objects as they can only be used by Internet Explorer generally.
0
 

Author Comment

by:solarissf
ID: 37781886
thanks jacko, appreciate you input... I may have to do the upload but hopefully I can figure out this activex idea.  

Does anyone have any input on activex?
0
 

Author Comment

by:solarissf
ID: 37782526
Or even if its not activeX, are there any more suggestions for my website to manipulate a specific excel file on the users desktop.  I'm doing some google searches and finding things like Web Deploy, but not sure if I'm on the right track.

Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Suggested Courses

771 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