Mobile app version of vmapp.org
Login or Join
Pope3001725

: HTTPS on all pages where user is logged on I know this is considered best practise to prevent cookie hijacking. I would like to adopt this approach, but ran across a problem on our forum

@Pope3001725

Posted in: #Https #Security

I know this is considered best practise to prevent cookie hijacking. I would like to adopt this approach, but ran across a problem on our forum where the users post images which either aren't posted with URL's over HTTPS or the url itself doesn't support HTTPS. This throws up a lot of ugly browser warnings.

I see I have two options:


Disable HTTPS for the forum
Force all user posted content to start with // in the url so it selects the right protocol, if it doesn't support HTTPS so be it


Do I have any other options? How do other sites deal with this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

1 Comments

Sorted by latest first Latest Oldest Best

 

@Marchetta884

Option 3 is to proxy the images. However, this has legal issues.

Option 4 is to replace ... images with a placeholder to open them in a new tab. Optionally have the server code first rewrite to and make a request to check whether it's supported.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme