annotate src/global/web/PrivacyPolicy.java @ 3:1010f557927f

allow setting salt for backup file
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Mar 2019 18:38:18 -0600
parents 7ecd1a4ef557
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 package global.web;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 import fschmidt.util.servlet.JtpContext;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 import global.HtmlGlobalUtils;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 import javax.servlet.ServletException;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 import javax.servlet.http.HttpServlet;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 import javax.servlet.http.HttpServletRequest;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 import javax.servlet.http.HttpServletResponse;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 import java.io.IOException;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 import java.io.PrintWriter;
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 public final class PrivacyPolicy extends HttpServlet {
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 protected void service(HttpServletRequest request,HttpServletResponse response)
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 throws ServletException, IOException
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 {
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 JtpContext jtpContext = (JtpContext)getServletContext().getAttribute(JtpContext.attrName);
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 jtpContext.setEtag(request,response);
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 PrintWriter out = response.getWriter();
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 out.print( "\n<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n " );
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 HtmlGlobalUtils.head(request, response, "Privacy Policy");
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 out.print( "\n </head>\n <body lato>\n " );
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 HtmlGlobalUtils.header(request,response);
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 out.print( "\n <div content center paddingTop>\n <h1 oswald>Privacy Policy</h1>\n\n <div class=\"terms\" style=\"margin: 2em 1em .83em;text-align: justify\">\n <p class=\"first-para\">\n This Privacy Policy specifies the manner in which Nabble collects, stores, uses,\n and discloses information about visitors. By using Nabble, you understand and\n accept the most recent version of this policy, which will be periodically updated.\n This document was last updated on April 03, 2015.\n </p>\n\n <h2 oswald>Information we collect</h2>\n\n <p class=\"first-para\">\n We collect information to provide better services to all of our users. We collect information in two ways:\n </p>\n <ul>\n <li>\n <strong>Information you give us.</strong>\n Nabble retains private and personal information only when it is voluntarily submitted by visitors via forms and emails.\n </li>\n <li>\n <strong>Information we get from your use of our services.</strong>\n We may collect information about the services that you use and how you use them. This includes:\n <ul>\n <li>\n <strong>Cookies and anonymous identifiers.</strong>\n This site uses some unobtrusive cookies to store information on your computer. Some cookies\n on this site are essential, and the site won't work as expected without them. These cookies are\n set when you submit a form, login or interact with the site by doing something that goes beyond\n clicking on simple links. We also use some non-essential cookies to anonymously track visitors\n or enhance your experience of the site.\n </li>\n <li>\n <strong>Log information.</strong>\n Nabble may collect and store certain information in server logs, including details of how you used our service,\n system activity, hardware settings, browser type, browser language, IP address, the date and time of your request and referral URL.\n </li>\n </ul>\n </li>\n </ul>\n\n <h2 oswald>How we use the information we collect</h2>\n\n <p>\n The information we collect is used to improve your user experience and the overall quality of our services.\n This basically includes verification of identity, maintaining user preferences, monitoring web traffic,\n investigation of bugs and statistical analysis with the purpose of improving the user experience.\n </p>\n\n <h2 oswald>Anonymous Usage</h2>\n\n <p>\n You may use Nabble without divulging any information beyond what is technologically required to retrieve a web page.\n Such usage, however, will limit the availability of certain features, including maintaining an account.\n </p>\n\n <h2 oswald>Site Owners</h2>\n <p>\n A Nabble \"site\" is a forum, blog, or any other application created on Nabble with its own subdomain.\n The user who creates a site owns it and can make the content public or private as he/she sees fit.\n This user may also download backups of the data for the site, and this will include any data\n that you have submitted to this site (except passwords, which are encrypted and truncated for security reasons).\n </p>\n\n <h2 oswald>Third Parties</h2>\n <p>\n Nabble utilizes certain third parties for the normal operation of our service.\n This includes, but is not limited to, providers of hosting, payment gateways, statistical analysis software and advertising networks.\n We allow third-party companies to collect certain information when you visit our web site. These companies may utilize cookies, pixels or\n other technologies to collect and use non-personally identifiable information (e.g., hashed data, click stream information, browser type,\n time and date, subject of advertisements clicked or scrolled over) during your visits to this and other web sites in order to provide\n advertisements about goods and services likely to be of greater interest to you. To learn more about this behavioral advertising practice or\n to opt-out of this type of advertising, you can visit the websites of the Digital Advertising Alliance at\n <a href=\"http://www.aboutads.info\">www.aboutads.info</a> and\n Networking Advertising Initiative at <a href=\"http://www.networkadvertising.org/choices/\">www.networkadvertising.org/choices/</a>.\n </p>\n <p>\n Personal information we collect is not shared with third parties except when approved by you or necessary for the delivery of the service.\n Information may likewise be divulged to aid in the investigation of illegal or forbidden activities and as required by law.\n Information may be transferred in the event that Nabble is acquired by another organization.\n </p>\n </div>\n </div>\n " );
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 HtmlGlobalUtils.footer(request,response);
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 out.print( "\n </body>\n</html>\n" );
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 }
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 }
7ecd1a4ef557 add content
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34