Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > ssl for a single webpart? View modes: 
User avatar
Member
Member
gatsby0121 - 11/9/2011 10:52:30 AM
   
ssl for a single webpart?
is it possible for a single webpart on a page to be ssl, but the rest of the page is not ssl?

Basically the clients it team wants us to give them the url of the pages the want to be https. so the pages that are to be in ssl are added to their configuration, and when it detects those urls, it wraps the data in ssl.

So if I add a webpart to a page, does it have a url that can be given to them?

My guess is that it can't as it's written into the page, and isn't really a page in itself.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/10/2011 2:47:27 AM
   
RE:ssl for a single webpart?
Hello.

I guess the whole page sits on the same domain and it is uses the same protocol (http or https), so I am afraid that you can use it for a whole page (URL) only, not for particular web part. If you want to "secure" particular web part, you can use built-in functionality, like "Check permissions" or "Display to roles" properties. Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
gatsby0121 - 11/17/2011 3:52:54 AM
   
RE:ssl for a single webpart?
It was more for the login webpart, which we have in the top right hand corner of the screen on every page, and when the user clicks on the login button, it opens up in a fancybox.

What I ended up doing was making a separate page with just the login webpart, and no surrounding text or images (no inheritance).

I then changed the webpart on the main page to a static text webpart, and set the fancybox to open up an iframe, containing the page with the login webpart. They can then add that page to their ssl list.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/18/2011 3:37:10 AM
   
RE:ssl for a single webpart?
Hello.

Thank you for sharing this solution on our forums.

Best Regards,
Radek Macalik