IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> Link to execute local programs
bbbngowc
post Feb 4 2008, 03:15 PM
Post #1


Junior
*

Group: Members
Posts: 96
Joined: 9-August 06
Member No.: 107135
Country Flag


Hello,

I'm not sure this is the place for this but: I am looking for a way for my users to click on a link on a web page (intranet) and have that link open an actual application that's installed on the user's computer?

Eg: Microsoft Word as link on the web page that will actually open the Office Application.

Thanks for any help.
Go to the top of the page
 
+Quote Post
ripken204
post Feb 4 2008, 04:51 PM
Post #2


The Hardware Guy
**********

Group: Members
Posts: 6046
Joined: 23-December 04
From: Rochester, New York
Member No.: 39158
OS: Vista Ultimate x64
Country Flag


you could try setting the link to the exe file

ex:

<a href="C:\Program\Files\Office\word.exe">Word</a>

however i doubt that it will work, worth a try tho
Go to the top of the page
 
+Quote Post
Glenn9999
post Feb 4 2008, 05:41 PM
Post #3


Member
**

Group: Members
Posts: 273
Joined: 23-April 07
Member No.: 136800
OS: XP Home
Country Flag


QUOTE (ripken204 @ Feb 4 2008, 05:51 PM) *
<a href="C:\Program\Files\Office\word.exe">Word</a>

however i doubt that it will work, worth a try tho


It works. The problem in it would be that you would get the Open/Save file dialog as a result, and I don't think it can be suppressed.
Go to the top of the page
 
+Quote Post
bbbngowc
post Feb 15 2008, 11:11 AM
Post #4


Junior
*

Group: Members
Posts: 96
Joined: 9-August 06
Member No.: 107135
Country Flag



It doesn't work. I click the link and nothing happens.
Go to the top of the page
 
+Quote Post
bbbngowc
post Feb 15 2008, 11:18 AM
Post #5


Junior
*

Group: Members
Posts: 96
Joined: 9-August 06
Member No.: 107135
Country Flag


QUOTE (bbbngowc @ Feb 15 2008, 01:11 PM) *
It doesn't work. I click the link and nothing happens.



Actually, it does work! But, it asks if I want to run or save the .exe file. How can I get it to open right away without asking?
Go to the top of the page
 
+Quote Post
Elysia
post Feb 21 2008, 09:43 PM
Post #6





Group: Members
Posts: 1
Joined: 21-February 08
Member No.: 178291
OS: XP Pro x86
Country Flag


this seems to be a big question - ive asked it myself and after hours of googling no avail. whats the alternative to this is there anyway to use a web document to locally execute files from the disk?

Thanks,
Elysia
Go to the top of the page
 
+Quote Post
Glenn9999
post Feb 22 2008, 02:26 AM
Post #7


Member
**

Group: Members
Posts: 273
Joined: 23-April 07
Member No.: 136800
OS: XP Home
Country Flag


QUOTE
is there anyway to use a web document to locally execute files from the disk?


I don't think so, and actually I would hope not. This would be the malicious web hacker's ultimate dream.

This post has been edited by Glenn9999: Feb 22 2008, 02:26 AM
Go to the top of the page
 
+Quote Post
basd
post Feb 23 2008, 04:31 PM
Post #8





Group: Members
Posts: 1
Joined: 23-February 08
Member No.: 178581
OS: none
Country Flag


File types will open based in the designated MIME application. Browsers generally can open pdf and doc files, for instance. Browsers will often offer a choice to "download" or "open" the file for common file types, such as wav, doc, pdf mp3 and the like. But, I am probably not saying anything you did not already know.

As noted in another comment, it is possible to create security risks by allowing variables to be passed through to programs that execute locally. You would not, for instance, want to designate a MIME type that executes a file with "cmd.exe", since that would allow a webpage to execute anything on your windows computer with the appropriate link.

In Firefox, the MIME Edit extension will allow the user to edit MIME types and create custom launchers. So, if word is not already set to execute when a link to a doc file is clicked on, that reference may be added by the user.

If you are setting up the user's computers, then you can go quite a bit beyond this. My system tracks documents via a web-based MySQL database, unencrypts them via gpg, edits them in the appropriate application, re-encrypts them and then stores them back to where they belong -- all with a single click on a link.

To do this, though, it is necessary to set up custom MIME extensions in the browser and create appropriate batch/script files -- and if storing to the server, requires upload privileges. If accessing local documents, it requires the "locallink" extension, since for security reasons, Firefox does not naturally allow local links to execute. In Linux, with an SSH connection, it's possible to allow all of the scripts and documents to reside in a directory on the webserver and access it as though it is a local directory, which simplifies mirroring/distribution issues. I think there may be software to establish an SSH remote folder as a local folder in Windows, but the only software I have seen on this is proprietary and I haven't tried it.

Once again, setting this up for multiple users requires some careful thought to access privileges and security. You do not want a disgruntled employee or friend to have sufficient access to compromise your system. I don't share my system with anyone, so this allows me relatively easy access to my documents and files from anywhere that has a high speed connection and a computer. I just need my live Linux DVD or the right programs on a flash drive.

This post has been edited by basd: Feb 23 2008, 04:47 PM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st November 2008 - 06:08 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy