RequestPolicy / requestpolicy

RequestPolicy is a Firefox extension that gives you control over cross-site requests. --- Be sure to look at the dev-1.0 branch as that's where all of the interesting work is happening. See also: https://www.requestpolicy.com/1.0.html
https://www.requestpolicy.com/
107 stars 17 forks source link

Synchronising config #401

Open kiwidude opened 10 years ago

kiwidude commented 10 years ago

I use requestpolicy on multiple computers and need to synchronise my requestpolicy settings. Yes there is an import and export function, and they work well, but really, that method is way too impracticable and therefore unusable. (Several other FF plugins suffer from the same problem.) The only practical way is for the requestpolicy settings to be stored in a flat file that can be copied between different computers with rsync. (rsync synchronisation is already set up so it's a matter of adding one file to the list.) Requestpolicy would need to keep that copyable file uptodate and import from it and export to it fully automatically. Currently, the import function "merges", not "replaces"; it must also be possible somehow to automatically remove previously configured entries by copying a single file. To re-iterate, keeping requestpolicy settings in sync with other computers or devices using the plugin's UI is in theory posssible but not practical in reality.

mdekstrand commented 10 years ago

You can already synchronize flat files: RequestPolicy stores its configuration in JSON files in requestpolicy/policies in your Firefox profile; user policies are in user.json.

I would, however, like to see RequestPolicy integrate with Firefox Sync to synchronize the policies along with the rest of my Firefox data.

kiwidude commented 10 years ago

You can already synchronize flat files: RequestPolicy stores its configuration in JSON files in requestpolicy/policies in your Firefox profile; user policies are in user.json.

I had looked for files that mght be storing RP's settings but found none. There is no file with requestpolicy/policies in its path, there is no file user.json, in fact the only file there is that can be attributed to RP is its .xpi installer in the extensions subdirectory.

Perhaps you could clarify? Thanks!

I would, however, like to see RequestPolicy integrate with Firefox Sync to synchronize the policies along with the rest of my Firefox data.

Syncing all of FF's user data would be brilliant. However I consider anything that requires a thrid-party server, especially one located in the USA, to be totally useless. This has to work with my own server only to be of any interest.

Volker bloggs7@top.geek.nz

mdekstrand commented 10 years ago

@kiwidude Might be new in 1.x (that's what I'm running), but I see requestpolicy/policies/user.json in my Firefox profile.

For pre-1.x RequestPolicy, you might be able to use RequestPolicy Sync with a personal Firefox Sync server (while the default is to sync to Firefox's servers, it is not difficult to set up your own Sync server these days). It's also worth noting that Firefox Sync is end-to-end encrypted - the server only sees encrypted data.