Three questions

Web hosting discussion, programming, and shared and dedicated servers.
3 posts Page 1 of 1
by scotts » Thu Jan 12, 2023 10:51 am
Dear Forum Support,

Three questions:

First

Firefox is showing "Connection is not secure" when I mouse hover over the padlock icon in the URL address bar on my website.

I suspect that it is due to the Doctype declaration I am using.

The current Doctype declaration is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>

The index.html file was posted in January 2016.

What Doctype should I use so that the connection is secure?

I am using a CSS stylesheet.

W3C website shows a number of different Doctype Decs.

Which to use?

XXXXXXXXXXXXXXXXXXXXX

Second

Upon searching Sonic Forums (web counter), I find several postings here:

search.php?st=0&sk=t&sd=d&sr=posts&keywords=web+counter

I would like to add a web counter to individual pages to be able to track how many hits each page receives.

Sonic Member Tools Bandwidth and Usage is fine, but it only shows usage statistics for the overall sub domain.

Specifically, I would like to track the number of hits that a specific JPG image gets within that page.

How to do that?

Is it possible to embed a counter script within the <img src code?

For example:

<img src="../images/Logo1.jpg" class="justify" alt="Logo" alt="counter code script">

I would like be able to visitors to my site be able to see online for themselves the number of clicks that their JPG image has gotten.

Is this possible?

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Third

I would like to upload to the website JPG images from visitors.

What is the most secure way to upload a visitor's image and add it to my site?

I would like to avoid asking the visitor to email me the image, due to possible malware embedded in the image.

Would it be possible to ask the visitor to paste the image on their website first, and then I take a screen shot of it? Would taking a screen shot of someone else's image strip any malicious code from the image?

Another possibility would be to have them email me the image and then scan it.

If I go that route, what is the most secure way to download a image to my computer, isolate it, and then scan it?

What malware scanner do you recommend to do this?

A final possibility would be to ask them to email me the image, open it in Webmail, and then take a screen shot of it. Would that strip it of potential malware? But if I do it this way, aren't I exposing my computer to potential malware by opening the visitor's image in my Webmail?

Thanks in advance.

Scott
by brandonc » Fri Mar 03, 2023 10:07 am
Hi Scott,

I can't answer your second and third question as it's not supported as we're not trained in that area.

However, for the first question, the "Connection Insecure" is tied to having an SSL certification for your website. This is not something Sonic offers as a service for our hosting unfortunately, so if you wanted an encrypted https: for your website, then you'd have to migrate to another host that can provide that service.

I apologize for any inconvenience this may cause.

Kind regards,
Brandon C.
Community and Escalations
Sonic
by ngufra » Sat Mar 04, 2023 12:43 pm
Hello.

I don't use sonic hosting but I would think they provide some logs and some tools to analyze the logs.
Otherwise there are many web counters like https://www.freecounterstat.com/ (not tested but it seems to do what you want)
Basically, they give you a unique image reference and every time someone get it it returns a different image with an increased value.

For your images, you can ask people to put the image on their google photos (for example) and share it with you.
They can also use imgur.
You can then get the image. Doing a screenshot would be reasonably safe though if it shows on your screen your computer is accessing the file; you can also open the image in a tool like paint dot net and save it again. It would strip and non image data.
If you are very concerned about security you can use a dedicated computer (or do it in a VM running in your computer and trash the changes every time) do treat the files.
3 posts Page 1 of 1

Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 25 guests