Skylight_lady Posted July 31, 2012 Share Posted July 31, 2012 Hi guys, I'm not sure if this is the right forum to post. Please move if not. My problem is that I have a website with 5 child folders inside the www folder. Now what I want to do is buy 1 ssl .... Will I be able to secure just two of those folders and how via cpanel? Also, what do I have to do to make sure the key lock on the bottom of the screen is clean eg all href links and image links should be https .... Does it matter if the are in one of the child folders not secure but still uses https to access it as written in the code address. Also, am I not allowed to link to an external website in the secured folders? Quote Link to comment https://forums.phpfreaks.com/topic/266479-secure-2-folders-with-ssl/ Share on other sites More sharing options...
Mahngiel Posted July 31, 2012 Share Posted July 31, 2012 The SSL isn't particularly worried about the files, but more to how they are served. If your CSS, JS, or HTML requests for an image via HTTP protocol, you will get a warning regard insecure stuff. You can get around this by serving full path imagery, css, and scripts by omitting the protocol, ie //example.com/assets/css/style.css. ( see the alway useful paul irish blog. ) Quote Link to comment https://forums.phpfreaks.com/topic/266479-secure-2-folders-with-ssl/#findComment-1365584 Share on other sites More sharing options...
Skylight_lady Posted August 1, 2012 Author Share Posted August 1, 2012 That also sounds like using the full path like https://www.myweb.com/securefolder/test.php will also do the same trick from what you and that blog is saying. Doesn't this also mean doing redirects for the folders to make them https without a user changing it to http in the web browser. Quote Link to comment https://forums.phpfreaks.com/topic/266479-secure-2-folders-with-ssl/#findComment-1365879 Share on other sites More sharing options...
gizmola Posted August 1, 2012 Share Posted August 1, 2012 That also sounds like using the full path like https://www.myweb.com/securefolder/test.php will also do the same trick from what you and that blog is saying. Doesn't this also mean doing redirects for the folders to make them https without a user changing it to http in the web browser. There is no reason for a normal user to tamper with the links, images, css you are serving, and no reason to be concerned about it, if they do. Quote Link to comment https://forums.phpfreaks.com/topic/266479-secure-2-folders-with-ssl/#findComment-1365883 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.