Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / July 2006

Tip: Looking for answers? Try searching our database.

Open File from Filesystem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andre Grumbach - 30 Jun 2006 08:09 GMT
Hello all,
I have a little problem. In one of my websites, I must create a link to
filesystem (file://C:/test.txt).
But all the time, i will use window.open("file:///C:/Test.txt"); I become a
JScript Error. "access denied".

How can I open the file from my website in a new window?

Thanks,
Andre
dotNuttah - 01 Jul 2006 17:28 GMT
> Hello all,
> I have a little problem. In one of my websites, I must create a link
[quoted text clipped - 6 lines]
> Thanks,
> Andre

There are a couple of options.

1) The person using your website has to set their browser permissions to
allow local file access to take place. One way is for them to put your site
in the Trusted Zone (and have Trusted Zone allow local access).

2) You write a trojan horse which does the same thing. ;o)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.