Forum Moderators: open

Message Too Old, No Replies

Application for links to safe:// protocol

SAFE network protocol

         

davidpbrown

12:48 pm on Apr 12, 2020 (gmt 0)

10+ Year Member



There is a new network being developed that has links as a protocol safe://
That safe:// protocol uses for now at least, its own browser that is an application downloaded.

How can Firefox be tweaked to see a prompt that is a link safe://url jump out to application?

I wonder perhaps certain media types might already do this but can't think of an example to be sure what the options are.

Is this needing an add-on extension and are there any that already do similar?

So, atm this is safe:// link in a normal webpage in Firefox that should then open on linux ~/bin/safe-browser-v0.17.0-alpha.11-linux-x64.AppImage

from [safenetforum.org...]

lammert

11:06 am on Apr 14, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well basically, you don't want this to happen ever. When a specially crafted URL is able to open an application on your desktop you create a big security hole. The only option would be to get the browser manufacturers to understand the safe scheme and implement it properly in their browsers. But as safe is not a scheme mentioned in the official IANA scheme list [iana.org], I give you not much hope any browser will implement this anytime soon.

To be honest, this safe:// protocol seems to be a kind of hobby project without any official backing at best. If you want to rely on the URI structure for the protocol to succeed, the first thing you have to do is write an RFC and get your scheme recognized at at least a provisional level at IANA.

davidpbrown

3:46 pm on Apr 14, 2020 (gmt 0)

10+ Year Member



hmm that is a basic reply..

It's far beyond a hobby project.. building the internet the way it should have been done and some extraordinary elements and expert support to it. An honest assessment, requires more than a cursory glance..

back on topic.. there is suggestion of one route for the old to reach the new, by bouncing off php and spawning a binary not text output, with associated filetype prompting the application.. see [safenetforum.org...]

lammert

4:24 pm on Apr 14, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The real content of the reply is in the first paragraph. FireFox is a safe browser and restricts access to desktop applications through a mal-formed URL by design. The only way to get it done properly is through FireFox accepting safe:// as a recognized valid scheme. PHP is server-based, not browser-based and contrary to the server-less approach of Safenet, so using PHP would not be in line with the idea behind the project.

In general, we are not here to fix issues on other discussion boards, but if you have a PHP script which actually (almost) works we are happy here to help you further.

davidpbrown

8:02 pm on Apr 14, 2020 (gmt 0)

10+ Year Member



PHP is server-based, not browser-based and contrary to the server-less approach of Safenet


Obviously so but you're jumping to assumptions too quick.

Principal of Charity goes down well on forums, not answers of the form "you don't want to do that" and "this thing I know nothing of is invalid because..expert fallacy"!

The OP is a query about jumping out from the unsafe internet onto the application that is the SAFE brower - specifically from links put to the safenetforum.org [safenetforum.org] so, those are easily accessed while we sit out here unsafe waiting for option on a forum within SAFE.

Obviously again, the option of jumping out of SAFE space, backwards to the current http:// environment, is a simple tweak of the SAFE application - if we allow that.. but for more reasons, it's likely to not want that olde world liability that follows. For the noobs, SAFE is about avoiding the errors of the past, having learned too much from them and then significantly less risk of data slippage - privacy; security; and freedom for everyone.. for abcs see https://safenetwork.tech/ [safenetwork.tech]

OP was, how can Firefox be tweaked to see a prompt that is a link safe://url jump out to application?..
I wonder that the option on PHP linked above will do unless someone has an alt by way of add-on perhaps..