Thread:Project:Support desk/Restricted Access to all ftp links (2)

MediaWiki 1.22.4, MySQL 5.5.35, PHP 5

MediaWiki application – documents database.

Wiki pages may include links for downloading documents (doc, pdf, xls) from external ftp server.

These links should only be accessible for administrators, so simple users cannot access these links.

How to make that?

Users/passwords at our ftp server are made same as at our wiki engine to access ftp server automatically without the need to login manually.

What we already did:

Installed Extension: External Data (Version 1.6.4) Installed Extension: FileProtocolLinks (Version 0.3.2) Installed Extension: ParserFunctions (Version 1.5.1)

Example of links address:port/folder/file.pdf DOCUMENT NAME

‘user:password@IP address:port’ should not be at source code at all!

Please, help, who has any ideas, appropriate extensions or advise who knows …

Thanks