473,378 Members | 1,447 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,378 software developers and data experts.

Parsing a local file

I have a web app that needs to parse through a file that is located on the
client machine. I get the file string from a query string & then parse it.
It is working fine on my development box but when I put it out on the test
server the application is looking for the file on the server & not on the
client machine.

I am essentially taking the query string & using a stream reader to read the
file.

I'm sure i'm doing something whacky...so PLEASE set me straight!

Steve.
Jul 21 '05 #1
20 1945
Steve,

Accessing a file on a client is terrible difficult and I don't know how it
is prevented today.

There is a special (VBS object) for that.
http://msdn.microsoft.com/library/de...gWithFiles.asp

Cor
Jul 21 '05 #2
Browser security is going to prevent you from reading/writing
local files on the visitors PC. You are SOL unless you
write an ActiveX control, get the users to install it, and then
have them set their browser security settings to essentially
non-existant security.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Steve" <St***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
I have a web app that needs to parse through a file that is located on the
client machine. I get the file string from a query string & then parse
it.
It is working fine on my development box but when I put it out on the test
server the application is looking for the file on the server & not on the
client machine.

I am essentially taking the query string & using a stream reader to read
the
file.

I'm sure i'm doing something whacky...so PLEASE set me straight!

Steve.

Jul 21 '05 #3
I do have control over the clients....i mean I can have the clients give
access to aspnet to a specific folder, etc... would this help?

"Steve" wrote:
I have a web app that needs to parse through a file that is located on the
client machine. I get the file string from a query string & then parse it.
It is working fine on my development box but when I put it out on the test
server the application is looking for the file on the server & not on the
client machine.

I am essentially taking the query string & using a stream reader to read the
file.

I'm sure i'm doing something whacky...so PLEASE set me straight!

Steve.

Jul 21 '05 #4
Nothing to do with ASP.NET. You'd have to lower each of
their security settings in the browser to the lowest level possible.
Even then, the browser might not enable you to do this.

Why is it that you need to read/write a local file? Perhaps
you can achieve your goal another way.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Steve" <St***@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
I do have control over the clients....i mean I can have the clients give
access to aspnet to a specific folder, etc... would this help?

"Steve" wrote:
I have a web app that needs to parse through a file that is located on
the
client machine. I get the file string from a query string & then parse
it.
It is working fine on my development box but when I put it out on the
test
server the application is looking for the file on the server & not on the
client machine.

I am essentially taking the query string & using a stream reader to read
the
file.

I'm sure i'm doing something whacky...so PLEASE set me straight!

Steve.

Jul 21 '05 #5
Ya.... a local file on the clients machine. I can't install anything to the
clients machine & the HTML file input control won't work either because we
don't want the users to search for the file...which is why it's getting
passed in the query string.

Any ideas?

"Robbe Morris [C# MVP]" wrote:
Nothing to do with ASP.NET. You'd have to lower each of
their security settings in the browser to the lowest level possible.
Even then, the browser might not enable you to do this.

Why is it that you need to read/write a local file? Perhaps
you can achieve your goal another way.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Steve" <St***@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
I do have control over the clients....i mean I can have the clients give
access to aspnet to a specific folder, etc... would this help?

"Steve" wrote:
I have a web app that needs to parse through a file that is located on
the
client machine. I get the file string from a query string & then parse
it.
It is working fine on my development box but when I put it out on the
test
server the application is looking for the file on the server & not on the
client machine.

I am essentially taking the query string & using a stream reader to read
the
file.

I'm sure i'm doing something whacky...so PLEASE set me straight!

Steve.


Jul 21 '05 #6
Steve,
Ya.... a local file on the clients machine. I can't install anything to
the
clients machine & the HTML file input control won't work either because we
don't want the users to search for the file...which is why it's getting
passed in the query string.

Microsoft has taken maybe hundreds of millions or more in this to make it
impossible to do what you want. You want an easy solution to do this.

Just my thought,

Cor
Jul 21 '05 #7
So is there no way to set the text for the File field? Even using Java
Script? Maybe hiding the file field & setting the text & then loading
that... I don't really care where I parse the file at...I could parse it
after I upload it...the main objective is to not allow the user to have to go
& select a file because the file is being passed by another application & our
users aren't very smart...we don't want them to try to find the file.

So how about some alternatives rather than Microsoft spending millions to
not allow programmers to do this.. which isn't very helpful.

Steve.

"Cor Ligthert" wrote:
Steve,
Ya.... a local file on the clients machine. I can't install anything to
the
clients machine & the HTML file input control won't work either because we
don't want the users to search for the file...which is why it's getting
passed in the query string.

Microsoft has taken maybe hundreds of millions or more in this to make it
impossible to do what you want. You want an easy solution to do this.

Just my thought,

Cor

Jul 21 '05 #8
Think about the consequences of what you are asking.

How do I either read or write to a local file via a browser?
How do I upload a file via browser without the user explicitly doing so?

The security implications are astounding. Hackers would have (and have had)
a field day.

This is precisely why MS spent so much money (and apparently need
to spend more because their stuff still isn't as secure as it needs to be).

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
So is there no way to set the text for the File field? Even using Java
Script? Maybe hiding the file field & setting the text & then loading
that... I don't really care where I parse the file at...I could parse it
after I upload it...the main objective is to not allow the user to have to
go
& select a file because the file is being passed by another application &
our
users aren't very smart...we don't want them to try to find the file.

So how about some alternatives rather than Microsoft spending millions to
not allow programmers to do this.. which isn't very helpful.

Steve.

"Cor Ligthert" wrote:
Steve,
> Ya.... a local file on the clients machine. I can't install anything
> to
> the
> clients machine & the HTML file input control won't work either because
> we
> don't want the users to search for the file...which is why it's getting
> passed in the query string.
>

Microsoft has taken maybe hundreds of millions or more in this to make it
impossible to do what you want. You want an easy solution to do this.

Just my thought,

Cor

Jul 21 '05 #9
You still haven't really explained why you need to read/write/upload
a file from their machine without them knowing?

What is in the file that you need a browser to have access to?

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
Ya.... a local file on the clients machine. I can't install anything to
the
clients machine & the HTML file input control won't work either because we
don't want the users to search for the file...which is why it's getting
passed in the query string.

Any ideas?

"Robbe Morris [C# MVP]" wrote:
Nothing to do with ASP.NET. You'd have to lower each of
their security settings in the browser to the lowest level possible.
Even then, the browser might not enable you to do this.

Why is it that you need to read/write a local file? Perhaps
you can achieve your goal another way.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Steve" <St***@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
>I do have control over the clients....i mean I can have the clients give
> access to aspnet to a specific folder, etc... would this help?
>
> "Steve" wrote:
>
>> I have a web app that needs to parse through a file that is located on
>> the
>> client machine. I get the file string from a query string & then
>> parse
>> it.
>> It is working fine on my development box but when I put it out on the
>> test
>> server the application is looking for the file on the server & not on
>> the
>> client machine.
>>
>> I am essentially taking the query string & using a stream reader to
>> read
>> the
>> file.
>>
>> I'm sure i'm doing something whacky...so PLEASE set me straight!
>>
>> Steve.


Jul 21 '05 #10
A local application that our employees use starts the process.... this is
where i get the query string from. So the user is actually starting the
process & wants that file uploaded. I need the data within the file so that
I can write the information to our database. I have seen a few other cludgy
solutions to this same problem... javascript with a reference to an activeX
object.... send keys... and i have seen that many other people want to do the
same thing so it's not like i'm asking something that is completely off the
wall. I'm not asking to write the file...and i'm not asking to get a file
that the user doesn't know about...it's being sent in a query string from the
users machine.

In the real 'corporate' world there are plenty of users that you don't want
to even view a file system let alone select a file for upload. They have no
clue as to what a file even is let alone browsing through there system to
find a file.

"Robbe Morris [C# MVP]" wrote:
You still haven't really explained why you need to read/write/upload
a file from their machine without them knowing?

What is in the file that you need a browser to have access to?

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
Ya.... a local file on the clients machine. I can't install anything to
the
clients machine & the HTML file input control won't work either because we
don't want the users to search for the file...which is why it's getting
passed in the query string.

Any ideas?

"Robbe Morris [C# MVP]" wrote:
Nothing to do with ASP.NET. You'd have to lower each of
their security settings in the browser to the lowest level possible.
Even then, the browser might not enable you to do this.

Why is it that you need to read/write a local file? Perhaps
you can achieve your goal another way.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Steve" <St***@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
>I do have control over the clients....i mean I can have the clients give
> access to aspnet to a specific folder, etc... would this help?
>
> "Steve" wrote:
>
>> I have a web app that needs to parse through a file that is located on
>> the
>> client machine. I get the file string from a query string & then
>> parse
>> it.
>> It is working fine on my development box but when I put it out on the
>> test
>> server the application is looking for the file on the server & not on
>> the
>> client machine.
>>
>> I am essentially taking the query string & using a stream reader to
>> read
>> the
>> file.
>>
>> I'm sure i'm doing something whacky...so PLEASE set me straight!
>>
>> Steve.


Jul 21 '05 #11
Steve,
and i have seen that many other people want to do the
same thing so it's not like i'm asking something that is completely off
the
wall.


You are right, however when there was only one, who succeeded in that, than
all Browser builders have again a big job to do. Stealing bankaccounts is
something that a lot of people want to do.

By the way, people asking this kind of questions are placing themselves in a
kind of suspected area whatever they say that the reason is.

Just my thought,

Cor
Jul 21 '05 #12
ok...so just to rest your paranoid mind, I work for a rather large insurance
broker. We have over 200 agents that use a product called FSC. FSC is a
rater for auto/home insurance. The product creates a temporary file that you
can pass to other applications for things like loading the data into other
systems like a agency management system. Our users barely know how to use
email & to ask them to go find a temporary file that is located in the Temp
directory under the Windows directory is just crazy. Which is why FSC has
built the functionality to pass the file to another application. Actually...
many applications do this... not just FSC. And maybe to your surprise they
aren't stealing bank accounts the users are actually initiating the process
and this is all controlled within the same network which is why on one of my
first messages I wrote that we control the desktop... i can set the
permissions... but I certainlyl don't want to set the permissions to allow
anyone access to the machine.

We are not the only Insurance broker who needs this type of functionality...
just about every Insurance Broker & Company needs this functionality because
our users just aren't that savy with the computer. It's much better to limit
our users so they can't make mistakes. Of course we could right a local and
instlal it to every machine...but then we will have the support costs
associated with installing the application on every desktop & then why in the
world do we have an intranet which was supposed to minimize those support
costs by producing applications that didn't need to be installed & could be
updated in 1 location.

I am quite surprised at my response here...I have had fairly good luck using
these message boards in the past... I have never been accused of stealing
bank accounts and if anyone from Microsoft wishes to find me they certainly
can with my registered version of MSDN. I have found work arounds to
this...but they certainly didn't come from this board. Only accusations of
stealing bank accounts & how it can't be done the way I initially ask.

Just fyi.... some people... i would guess most people out here are actually
here because they need help either in there process or code not because they
want to steal something. So being Mr. Police man just wastes peoples time
out here. If you don't know the solution...then don't respond. If you are
the Microsoft Message Board Police...then look up my account & give me a call
before accusing me publicly of stealing bank accounts.

Steve

"Cor Ligthert" wrote:
Steve,
and i have seen that many other people want to do the
same thing so it's not like i'm asking something that is completely off
the
wall.


You are right, however when there was only one, who succeeded in that, than
all Browser builders have again a big job to do. Stealing bankaccounts is
something that a lot of people want to do.

By the way, people asking this kind of questions are placing themselves in a
kind of suspected area whatever they say that the reason is.

Just my thought,

Cor

Jul 21 '05 #13
Steve,

Did I said that you are trying to steal bank accounts.

The method you ask for is the first step to make that possible.

That is wherefore more and more access to the disk of the user is closed.

With JavaScript you could never do it, and with VBS for the web Microsoft
had to turn that off long ago. That is not because Microsoft, however
general rules for Browswer builders W3C.

You can screem as hard as you do, however they will not turn that back for
you

Just my thought,

Cor
Jul 21 '05 #14
lol...ok...so once more... I don't have to do it the way i initially asked...
i was looking for work arounds to my problem. I'm sure microsoft isn't going
to change code for 1 person.

Boy..you sure are helpful. After I wrote a long elaborate email stating my
intentions & saying how people are looking for suggestions to there problems
you still come back with a message that does absolutely no good & helps in no
way.

Thanks for your thoughts...but they were a complete waste of my time. And I
would say that you accused me of stealing bank accounts & that I was suspect
just because I asked the question. fyi...to scream on message boards you
type in all caps.... just a helpful tip.

Steve.

"Cor Ligthert" wrote:
Steve,

Did I said that you are trying to steal bank accounts.

The method you ask for is the first step to make that possible.

That is wherefore more and more access to the disk of the user is closed.

With JavaScript you could never do it, and with VBS for the web Microsoft
had to turn that off long ago. That is not because Microsoft, however
general rules for Browswer builders W3C.

You can screem as hard as you do, however they will not turn that back for
you

Just my thought,

Cor

Jul 21 '05 #15
Steve,

I did not say that you were trying to steal bankaccounts. You said many
people want this functionality. And than I said that there are a lot of
people who want this functionality to steal bankaccounts.

You did not ask for an solution in this thread. You wanted your solution
because the whole world needs that.

Why don't you do it as everybody else. One HTML input file control on your
page and use that to get the file, than you can sent after an acknowledge.
Probably you can even combine that with some more work. I have seen some
pages for that on MSDN.

However you are right I spent to much time in this thread.

Cor
Jul 21 '05 #16

Steve a écrit :
ok...so just to rest your paranoid mind


<snip>

1) There is no such thing as "Microsoft Message Board Police" around
here, except for the most patent spams. Be assured that your message
won't be erased, stamped or placed under NSA surveillance ;-)

2) Nobody is accusing you from stealing bank accounts. People are
explaining you that the possiblity you ask is a dangerous security hole
that could afford to do such a thing, and that is why it is best left
forbidden.

3) Try to think from a security point of view : I do not know you,
neither anyone in this newsgroup. Therefore, as far as I am concerned,
your explanation concerning your work could be a fairy tale and you
could be just another wanabee-hacker (I am not accusing you of anything
here : I am just trying to explain you the "security-first" mind you
should have when dealing with Internet apps). It's not a matter of
being paranoid : it's a matter of professionnal responsability when
exposing company critical information to the outside world (which
happens pretty much as soon as you put it on an HTTP network).

This said, there are probably many workarounds to your problem : For
example, can FSC be configured to copy the temp file to a network
share, where it would be accessible to the server?

Arnaud
MVP - VC

Jul 21 '05 #17
Thank you Arnaud for at least trying to offer a suggestion. That's all I was
after... I know there are no Microsoft Police... i was just making a point
that people out here are after suggestions to there problems. FSC only
offers the ability to pass a string with a path & file name...no ability to
copy or move the file.

I was only asking for suggestions to my problem... in my first message, I
stated that I was probably doing something whacky....so please set me
straight. I have no idea how that turned into, "Stealing bankaccounts is
something that a lot of people want to do. By the way, people asking this
kind of questions are placing themselves in a kind of suspected area whatever
they say that the reason is."

From Cor Lighthert.

fyi,

http://4umi.com/web/javascript/filteread.htm for those of you dealing with
this issue in a corprate intranet. I have also seen some sendkeys
solutions..both are a bit cheesy but if they work around the problem then it
suits the business needs.

Steve.

"ad******@club-internet.fr" wrote:

Steve a écrit :
ok...so just to rest your paranoid mind


<snip>

1) There is no such thing as "Microsoft Message Board Police" around
here, except for the most patent spams. Be assured that your message
won't be erased, stamped or placed under NSA surveillance ;-)

2) Nobody is accusing you from stealing bank accounts. People are
explaining you that the possiblity you ask is a dangerous security hole
that could afford to do such a thing, and that is why it is best left
forbidden.

3) Try to think from a security point of view : I do not know you,
neither anyone in this newsgroup. Therefore, as far as I am concerned,
your explanation concerning your work could be a fairy tale and you
could be just another wanabee-hacker (I am not accusing you of anything
here : I am just trying to explain you the "security-first" mind you
should have when dealing with Internet apps). It's not a matter of
being paranoid : it's a matter of professionnal responsability when
exposing company critical information to the outside world (which
happens pretty much as soon as you put it on an HTTP network).

This said, there are probably many workarounds to your problem : For
example, can FSC be configured to copy the temp file to a network
share, where it would be accessible to the server?

Arnaud
MVP - VC

Jul 21 '05 #18
The browser is always going to be a problem for you.

You should probably consider writing a .NET windows service to install
on their PCs. It would use a SystemFileWatcher to sit and wait
on new files being created by this other application. Upon
receiving the event, your windows service could upload
the file to your web site and pass the machine name or
even the windows id associated with the file.

You'll need to give some thought as to the way you
want to associate your web site user accounts with the
upload files from your service. 99.9% of the time, the
local file should be uploaded to your web server prior
to the user ever logging onto the web site.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
Thank you Arnaud for at least trying to offer a suggestion. That's all I
was
after... I know there are no Microsoft Police... i was just making a point
that people out here are after suggestions to there problems. FSC only
offers the ability to pass a string with a path & file name...no ability
to
copy or move the file.

I was only asking for suggestions to my problem... in my first message, I
stated that I was probably doing something whacky....so please set me
straight. I have no idea how that turned into, "Stealing bankaccounts is
something that a lot of people want to do. By the way, people asking this
kind of questions are placing themselves in a kind of suspected area
whatever
they say that the reason is."

From Cor Lighthert.

fyi,

http://4umi.com/web/javascript/filteread.htm for those of you dealing
with
this issue in a corprate intranet. I have also seen some sendkeys
solutions..both are a bit cheesy but if they work around the problem then
it
suits the business needs.

Steve.

"ad******@club-internet.fr" wrote:

Steve a écrit :
> ok...so just to rest your paranoid mind


<snip>

1) There is no such thing as "Microsoft Message Board Police" around
here, except for the most patent spams. Be assured that your message
won't be erased, stamped or placed under NSA surveillance ;-)

2) Nobody is accusing you from stealing bank accounts. People are
explaining you that the possiblity you ask is a dangerous security hole
that could afford to do such a thing, and that is why it is best left
forbidden.

3) Try to think from a security point of view : I do not know you,
neither anyone in this newsgroup. Therefore, as far as I am concerned,
your explanation concerning your work could be a fairy tale and you
could be just another wanabee-hacker (I am not accusing you of anything
here : I am just trying to explain you the "security-first" mind you
should have when dealing with Internet apps). It's not a matter of
being paranoid : it's a matter of professionnal responsability when
exposing company critical information to the outside world (which
happens pretty much as soon as you put it on an HTTP network).

This said, there are probably many workarounds to your problem : For
example, can FSC be configured to copy the temp file to a network
share, where it would be accessible to the server?

Arnaud
MVP - VC

Jul 21 '05 #19
Thanks for the info robbe... ya..i am ending up having to write a local app
that will just send the file to a webservice & the local app will spawn the
web page.

Thanks for the thoughts.

Steve.

"Robbe Morris [C# MVP]" wrote:
The browser is always going to be a problem for you.

You should probably consider writing a .NET windows service to install
on their PCs. It would use a SystemFileWatcher to sit and wait
on new files being created by this other application. Upon
receiving the event, your windows service could upload
the file to your web site and pass the machine name or
even the windows id associated with the file.

You'll need to give some thought as to the way you
want to associate your web site user accounts with the
upload files from your service. 99.9% of the time, the
local file should be uploaded to your web server prior
to the user ever logging onto the web site.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
Thank you Arnaud for at least trying to offer a suggestion. That's all I
was
after... I know there are no Microsoft Police... i was just making a point
that people out here are after suggestions to there problems. FSC only
offers the ability to pass a string with a path & file name...no ability
to
copy or move the file.

I was only asking for suggestions to my problem... in my first message, I
stated that I was probably doing something whacky....so please set me
straight. I have no idea how that turned into, "Stealing bankaccounts is
something that a lot of people want to do. By the way, people asking this
kind of questions are placing themselves in a kind of suspected area
whatever
they say that the reason is."

From Cor Lighthert.

fyi,

http://4umi.com/web/javascript/filteread.htm for those of you dealing
with
this issue in a corprate intranet. I have also seen some sendkeys
solutions..both are a bit cheesy but if they work around the problem then
it
suits the business needs.

Steve.

"ad******@club-internet.fr" wrote:

Steve a écrit :
> ok...so just to rest your paranoid mind

<snip>

1) There is no such thing as "Microsoft Message Board Police" around
here, except for the most patent spams. Be assured that your message
won't be erased, stamped or placed under NSA surveillance ;-)

2) Nobody is accusing you from stealing bank accounts. People are
explaining you that the possiblity you ask is a dangerous security hole
that could afford to do such a thing, and that is why it is best left
forbidden.

3) Try to think from a security point of view : I do not know you,
neither anyone in this newsgroup. Therefore, as far as I am concerned,
your explanation concerning your work could be a fairy tale and you
could be just another wanabee-hacker (I am not accusing you of anything
here : I am just trying to explain you the "security-first" mind you
should have when dealing with Internet apps). It's not a matter of
being paranoid : it's a matter of professionnal responsability when
exposing company critical information to the outside world (which
happens pretty much as soon as you put it on an HTTP network).

This said, there are probably many workarounds to your problem : For
example, can FSC be configured to copy the temp file to a network
share, where it would be accessible to the server?

Arnaud
MVP - VC


Jul 21 '05 #20
You could also write your own desktop app that wraps around
the Web Browser control. You can use windows code to react to
events that occured in the browser.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
Thanks for the info robbe... ya..i am ending up having to write a local
app
that will just send the file to a webservice & the local app will spawn
the
web page.

Thanks for the thoughts.

Steve.

"Robbe Morris [C# MVP]" wrote:
The browser is always going to be a problem for you.

You should probably consider writing a .NET windows service to install
on their PCs. It would use a SystemFileWatcher to sit and wait
on new files being created by this other application. Upon
receiving the event, your windows service could upload
the file to your web site and pass the machine name or
even the windows id associated with the file.

You'll need to give some thought as to the way you
want to associate your web site user accounts with the
upload files from your service. 99.9% of the time, the
local file should be uploaded to your web server prior
to the user ever logging onto the web site.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net

"Steve" <St***@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
> Thank you Arnaud for at least trying to offer a suggestion. That's all
> I
> was
> after... I know there are no Microsoft Police... i was just making a
> point
> that people out here are after suggestions to there problems. FSC only
> offers the ability to pass a string with a path & file name...no
> ability
> to
> copy or move the file.
>
> I was only asking for suggestions to my problem... in my first message,
> I
> stated that I was probably doing something whacky....so please set me
> straight. I have no idea how that turned into, "Stealing bankaccounts
> is
> something that a lot of people want to do. By the way, people asking
> this
> kind of questions are placing themselves in a kind of suspected area
> whatever
> they say that the reason is."
>
> From Cor Lighthert.
>
> fyi,
>
> http://4umi.com/web/javascript/filteread.htm for those of you dealing
> with
> this issue in a corprate intranet. I have also seen some sendkeys
> solutions..both are a bit cheesy but if they work around the problem
> then
> it
> suits the business needs.
>
> Steve.
>
>
>
> "ad******@club-internet.fr" wrote:
>
>>
>> Steve a écrit :
>> > ok...so just to rest your paranoid mind
>>
>> <snip>
>>
>> 1) There is no such thing as "Microsoft Message Board Police" around
>> here, except for the most patent spams. Be assured that your message
>> won't be erased, stamped or placed under NSA surveillance ;-)
>>
>> 2) Nobody is accusing you from stealing bank accounts. People are
>> explaining you that the possiblity you ask is a dangerous security
>> hole
>> that could afford to do such a thing, and that is why it is best left
>> forbidden.
>>
>> 3) Try to think from a security point of view : I do not know you,
>> neither anyone in this newsgroup. Therefore, as far as I am concerned,
>> your explanation concerning your work could be a fairy tale and you
>> could be just another wanabee-hacker (I am not accusing you of
>> anything
>> here : I am just trying to explain you the "security-first" mind you
>> should have when dealing with Internet apps). It's not a matter of
>> being paranoid : it's a matter of professionnal responsability when
>> exposing company critical information to the outside world (which
>> happens pretty much as soon as you put it on an HTTP network).
>>
>> This said, there are probably many workarounds to your problem : For
>> example, can FSC be configured to copy the temp file to a network
>> share, where it would be accessible to the server?
>>
>> Arnaud
>> MVP - VC
>>
>>


Jul 21 '05 #21

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

Similar topics

0
by: bugbear | last post by:
Subject pretty much says it all. I'd like to parse XML (duh!) using Xerces (because its fast, and reliable, and comprehensive, and supports lots of features). I'd like to conform to standards...
9
by: g.kanaka.raju | last post by:
Hi, I wanted to write a function that gets the file path as an argument. The file path make take one of the two forms : (i) Absolute file path e.g., /usr/local/file.log or (ii)it may...
2
by: Brett | last post by:
I uploaded an ASP.NET website from my developer machine to a remote server. The paths differ slightly as follows: Local Path: C:\Inetpub\wwwroot\mysite Server Path: C:\Inetpub\mysite.com\ I...
20
by: Steve | last post by:
I have a web app that needs to parse through a file that is located on the client machine. I get the file string from a query string & then parse it. It is working fine on my development box but...
8
by: Eric Anderson | last post by:
I have some files that sit on a FTP server. These files contain data stored in a tab-separated format. I need to download these files and insert/update them in a MySQL database. My current basic...
1
by: Thomas Kowalski | last post by:
Hi, I have to parse a plain, ascii text file (on local HD). Since the file might be many millions lines long I want to improve the efficiency of my parsing process. The resulting data structure...
0
by: Uncle Leo | last post by:
I created an OleDbDataAdapter with the wizard in Visual Studio 2003. It created a dataset, connectionstring etc. for me to work with. It also created a .xsd file where one of the columns type is...
0
by: savj14 | last post by:
I have been driving myself crazy the past few days trying to figure this out. I have tried different Parsing Scripts and have read and searched various things trying to find a solution. I am...
1
by: Sidhartha | last post by:
Hi, I am facing a problem while parsing local language characters using sax parser. We use DOM to parse and SAX to read the source. But when our application parses strings with local language...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.