Xxor / proxxor4tor2web

4 stars 0 forks source link

Access disclaimer for any Tor2web resources #11

Open fpietrosanti opened 12 years ago

fpietrosanti commented 12 years ago

As additional improvement, to reduce the risks by Tor2web operators and better distribute tor2web nodes, we should implement an Access Disclaimer.

Access disclaimer is shown to every user that have not accepted the access disclaimer. Upon acceptance of Access Disclaimer the user is given a temporary cookie.

Any requests (to load html or directly images) without the appropriate acceptance of Access Disclaimer will result in a redirection to the Access Disclaimer page.

That way we can prevent embedding possibly illegal content from internet forums, directly from Tor2web resources.

The Access Disclaimer must be loaded from an external template file.

The Access Disclaimer feature must be configurable, as there may be custom Tor2web usage scenario where it's not required.

Independently from the Access Disclaimer the Tor2web header injection #1 into each page must stay available (if enabled)