Tags:
create new tag
view all tags

SID-00895: Automatic execution of attachments or local files

Status: Answered Answered TWiki version: 5.0.0 Perl version:
Category: CategoryBrowser Server OS: centos 5 Last update: 15 years ago

Is there a way to create a link that will open a file with the windows default program?

I have a few files that i would like to execute from a link on our intranet.

1. Batch files 2. .VNC connection files -- Launches VNC with all settings.

Do I need a plugin? Can the files be on the file server or do they have to be attached?

Thanks for your help.

-- ScottGutman - 2010-07-13

Discussion and Answer

Do you want to execute files on the TWiki server or on the local machine? In either case it is a BIG security issue. Imagine if you could click on a .bat file anywhere on the internet and it gets executed on your local machine?

Look into adding custom Interwiki rules, such as Bugs:1234. See InterwikiPlugin

You can also define additional protocols your browser supports besides http, https, ftp, etc. See {LinkProtocolPattern} in TWiki's configure.

-- PeterThoeny - 2010-07-13

My goal is really to make shortcuts to files and avoid user navigation of the network drives. Instead of having a user open "my computer" --> navigate to the network drive --> and double click on a file, I wanted to make a link. If the local computer does not have the ability or permissions to run the file, then the link would fail.

I do see the security issues though. Do you have any suggestions?

-- ScottGutman - 2010-08-03

Use the file:// link. Drag & drop a directory from your network drive to your browser. Copy that URL to TWiki. If you want to share that with other users you need to make sure all users have the same drive letters assigned to the network drive.

For easy access, define a interwiki rule to your network drive folders. For example if you have marketing docs in a certain folder, define a Marketing:path/to/file.doc rule. See InterwikiPlugin.

-- PeterThoeny - 2010-08-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Automatic execution of attachments or local files
SupportCategory CategoryBrowser
TWiki version 5.0.0
Server OS centos 5
Web server apache
Perl version

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2010-08-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.